home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
a_utils
/
_archvrs
/
mac
/
unzip101.sit
/
UnZip 1.01.rsrc
/
CODE_2.txt
< prev
next >
Wrap
Text File
|
1989-09-11
|
390KB
|
7,092 lines
# near model CODE resource
# entry label at 0x0000
entry:
fn00000000:
00000000 226F 0004 movea.l A1, [A7 + 0x4]
00000004 362F 0008 move.w D3, [A7 + 0x8]
00000008 242D F710 move.l D2, [A5 - 0x8F0]
0000000C 41ED 975A lea.l A0, [A5 - 0x68A6]
00000010 5343 subq.w D3, 1
label00000012:
00000012 4240 clr.w D0
00000014 1002 move.b D0, D2
00000016 4241 clr.w D1
00000018 1219 move.b D1, [A1]+
0000001A B340 xor.w D0, D1
0000001C D040 add.w D0, D0
0000001E D040 add.w D0, D0
00000020 2230 0000 move.l D1, [A0 + D0.w]
00000024 4202 clr.b D2
00000026 E09A ror D2, 8
00000028 B382 xor.l D2, D1
0000002A 51CB FFE6 dbf D3, -0x1C /* 00000012 */
0000002E 2B42 F710 move.l [A5 - 0x8F0], D2
00000032 4E75 rts
00000034 4E75 rts
fn00000036:
00000036 4E56 0000 link A6, 0
0000003A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000003E 2F2E 000C move.l -[A7], [A6 + 0xC]
00000042 4EAD 0042 jsr [A5 + 0x42]
00000046 2D40 000C move.l [A6 + 0xC], D0
0000004A 202E 000C move.l D0, [A6 + 0xC]
0000004E A31E trap NewPtrClear, flags=3
00000050 31C0 0220 move.w [0x00000220 /* MemErr */], D0
00000054 2008 move.l D0, A0
00000056 4E5E unlink A6
00000058 4E75 rts
0000005A 434C chk.w D1, A4
0000005C 414C chk.w D0, A4
0000005E 4C4F 4320 movem.l A6,A1,A0,D5, A7
fn00000062:
00000062 4E56 0000 link A6, 0
00000066 7000 moveq.l D0, 0x00
00000068 302E 0008 move.w D0, [A6 + 0x8]
0000006C 7200 moveq.l D1, 0x00
0000006E 322E 000A move.w D1, [A6 + 0xA]
00000072 2F01 move.l -[A7], D1
00000074 2F00 move.l -[A7], D0
00000076 4EBA FFBE jsr [PC - 0x42 /* 00000036 */]
0000007A 508F addq.l A7, 8
0000007C 4E5E unlink A6
0000007E 4E75 rts
00000080 4341 chk.w D1, D1
00000082 4C4C 4F43 movem.l A6,A3,A2,A1,A0,D6,D1,D0, A4
00000086 2020 move.l D0, -[A0]
fn00000088:
00000088 4E56 0000 link A6, 0
0000008C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000090 4EAD 01E2 jsr [A5 + 0x1E2]
00000094 4A78 0220 tst.w [0x00000220 /* MemErr */]
00000098 6604 bne +0x6 /* 0000009E */
0000009A 7000 moveq.l D0, 0x00
0000009C 6002 bra +0x4 /* 000000A0 */
label0000009E:
0000009E 70FF moveq.l D0, 0xFFFFFFFF
label000000A0:
000000A0 4E5E unlink A6
000000A2 4E75 rts
000000A4 4652 not.w [A2]
000000A6 4545 chk.w D2, D5
000000A8 2020 move.l D0, -[A0]
000000AA 2020 move.l D0, -[A0]
fn000000AC:
000000AC 4E56 0000 link A6, 0
000000B0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000000B4 4EBA FFD2 jsr [PC - 0x2E /* 00000088 */]
000000B8 588F addq.l A7, 4
000000BA 4E5E unlink A6
000000BC 4E75 rts
000000BE 4346 chk.w D1, D6
000000C0 5245 addq.w D5, 1
000000C2 4520 .invalid 2, -[A0] // invalid opcode 4 with b == 4
000000C4 2020 move.l D0, -[A0]
fn000000C6:
000000C6 4E56 0000 link A6, 0
000000CA 42A7 clr.l -[A7]
000000CC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000000D0 4EAD 01DA jsr [A5 + 0x1DA]
000000D4 205F movea.l A0, [A7]+
000000D6 2008 move.l D0, A0
000000D8 4E5E unlink A6
000000DA 4E75 rts
000000DC 4D4C chk.w D6, A4
000000DE 414C chk.w D0, A4
000000E0 4C4F 4320 movem.l A6,A1,A0,D5, A7
000000E4 4E56 0000 link A6, 0
000000E8 42A7 clr.l -[A7]
000000EA 7000 moveq.l D0, 0x00
000000EC 302E 0008 move.w D0, [A6 + 0x8]
000000F0 2F00 move.l -[A7], D0
000000F2 4EAD 01DA jsr [A5 + 0x1DA]
000000F6 205F movea.l A0, [A7]+
000000F8 2008 move.l D0, A0
000000FA 4E5E unlink A6
000000FC 4E75 rts
000000FE 4D41 chk.w D6, D1
00000100 4C4C 4F43 movem.l A6,A3,A2,A1,A0,D6,D1,D0, A4
00000104 2020 move.l D0, -[A0]
fn00000106:
00000106 4E56 FFF8 link A6, -0x0008
0000010A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000010E 2F2E 000C move.l -[A7], [A6 + 0xC]
00000112 4EAD 01F2 jsr [A5 + 0x1F2]
00000116 4267 clr.w -[A7]
00000118 4EAD 021A jsr [A5 + 0x21A]
0000011C 301F move.w D0, [A7]+
0000011E 4A40 tst.w D0
00000120 6700 006C beq +0x6E /* 0000018E */
00000124 42A7 clr.l -[A7]
00000126 2F2E 000C move.l -[A7], [A6 + 0xC]
0000012A 4EAD 01DA jsr [A5 + 0x1DA]
0000012E 205F movea.l A0, [A7]+
00000130 2D48 FFF8 move.l [A6 - 0x8], A0
00000134 4267 clr.w -[A7]
00000136 4EAD 021A jsr [A5 + 0x21A]
0000013A 301F move.w D0, [A7]+
0000013C 4A40 tst.w D0
0000013E 6704 beq +0x6 /* 00000144 */
00000140 7000 moveq.l D0, 0x00
00000142 604E bra +0x50 /* 00000192 */
label00000144:
00000144 42A7 clr.l -[A7]
00000146 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000014A 4EAD 01EA jsr [A5 + 0x1EA]
0000014E 201F move.l D0, [A7]+
00000150 2D40 FFFC move.l [A6 - 0x4], D0
00000154 202E FFFC move.l D0, [A6 - 0x4]
00000158 B0AE 000C cmp.l D0, [A6 + 0xC]
0000015C 6412 bcc +0x14 /* 00000170 */
0000015E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000162 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000166 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000016A 4EAD 0212 jsr [A5 + 0x212]
0000016E 6010 bra +0x12 /* 00000180 */
label00000170:
00000170 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000174 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000178 2F2E 000C move.l -[A7], [A6 + 0xC]
0000017C 4EAD 0212 jsr [A5 + 0x212]
label00000180:
00000180 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000184 4EAD 01E2 jsr [A5 + 0x1E2]
00000188 202E FFF8 move.l D0, [A6 - 0x8]
0000018C 6004 bra +0x6 /* 00000192 */
label0000018E:
0000018E 202E 0008 move.l D0, [A6 + 0x8]
label00000192:
00000192 4E5E unlink A6
00000194 4E75 rts
00000196 5245 addq.w D5, 1
00000198 4C41 4C4C movem.l A6,A3,A2,D6,D3,D2, D1
0000019C 4F43 chk.w D7, D3
0000019E 4E56 0000 link A6, 0
000001A2 7000 moveq.l D0, 0x00
000001A4 302E 000C move.w D0, [A6 + 0xC]
000001A8 2F00 move.l -[A7], D0
000001AA 2F2E 0008 move.l -[A7], [A6 + 0x8]
000001AE 4EBA FF56 jsr [PC - 0xAA /* 00000106 */]
000001B2 508F addq.l A7, 8
000001B4 4E5E unlink A6
000001B6 4E75 rts
000001B8 5245 addq.w D5, 1
000001BA 414C chk.w D0, A4
000001BC 4C4F 4320 movem.l A6,A1,A0,D5, A7
fn000001C0:
000001C0 4CEF 0300 0004 movem.l A1,A0, [A7 + 0x4]
000001C6 2208 move.l D1, A0
000001C8 302F 000C move.w D0, [A7 + 0xC]
000001CC 5340 subq.w D0, 1
000001CE 6C06 bge +0x8 /* 000001D6 */
label000001D0:
000001D0 2008 move.l D0, A0
000001D2 9081 sub.l D0, D1
000001D4 6014 bra +0x16 /* 000001EA */
label000001D6:
000001D6 10D9 move.b [A0]+, [A1]+
000001D8 57C8 FFFC dbeq D0, -0x6 /* 000001D6 */
000001DC 4A20 tst.b -[A0]
000001DE 67F0 beq -0xE /* 000001D0 */
000001E0 4A40 tst.w D0
000001E2 6DEC blt -0x12 /* 000001D0 */
000001E4 5288 addq.l A0, 1
000001E6 4210 clr.b [A0]
000001E8 60E6 bra -0x18 /* 000001D0 */
label000001EA:
000001EA 4E75 rts
000001EC 206F 0004 movea.l A0, [A7 + 0x4]
label000001F0:
000001F0 0C10 0020 cmpi.b [A0], 0x20 /* ' ' */
000001F4 6716 beq +0x18 /* 0000020C */
000001F6 0C10 0003 cmpi.b [A0], 0x3
000001FA 6710 beq +0x12 /* 0000020C */
000001FC 0C10 0009 cmpi.b [A0], 0x9 /* '\t' */
00000200 6D06 blt +0x8 /* 00000208 */
00000202 0C10 000D cmpi.b [A0], 0xD /* '\r' */
00000206 6F04 ble +0x6 /* 0000020C */
label00000208:
00000208 5288 addq.l A0, 1
0000020A 60E4 bra -0x1A /* 000001F0 */
label0000020C:
0000020C 2008 move.l D0, A0
0000020E 4E75 rts
fn00000210:
00000210 4CEF 0300 0004 movem.l A1,A0, [A7 + 0x4]
00000216 2008 move.l D0, A0
label00000218:
00000218 4A18 tst.b [A0]+
0000021A 66FC bne -0x2 /* 00000218 */
0000021C 5388 subq.l A0, 1
label0000021E:
0000021E 10D9 move.b [A0]+, [A1]+
00000220 66FC bne -0x2 /* 0000021E */
00000222 4E75 rts
export_14:
00000224 206F 0004 movea.l A0, [A7 + 0x4]
00000228 142F 0009 move.b D2, [A7 + 0x9]
0000022C 7000 moveq.l D0, 0x00
label0000022E:
0000022E 1218 move.b D1, [A0]+
00000230 6606 bne +0x8 /* 00000238 */
00000232 4A02 tst.b D2
00000234 6706 beq +0x8 /* 0000023C */
00000236 6008 bra +0xA /* 00000240 */
label00000238:
00000238 B202 cmp.b D1, D2
0000023A 66F2 bne -0xC /* 0000022E */
label0000023C:
0000023C 2008 move.l D0, A0
0000023E 5380 subq.l D0, 1
label00000240:
00000240 4E75 rts
00000242 4EED 0092 jmp [A5 + 0x92]
00000246 4E75 rts
export_15:
00000248 4CEF 0300 0004 movem.l A1,A0, [A7 + 0x4]
label0000024E:
0000024E B109 cmpm.b [A0]+, [A1]+
00000250 6606 bne +0x8 /* 00000258 */
00000252 4A28 FFFF tst.b [A0 - 0x1]
00000256 66F6 bne -0x8 /* 0000024E */
label00000258:
00000258 1020 move.b D0, -[A0]
0000025A 9021 sub.b D0, -[A1]
0000025C 4880 ext.w D0
0000025E 4E75 rts
00000260 4EED 009A jmp [A5 + 0x9A]
00000264 4E75 rts
export_11:
fn00000266:
00000266 4CEF 0300 0004 movem.l A1,A0, [A7 + 0x4]
0000026C 2008 move.l D0, A0
label0000026E:
0000026E 10D9 move.b [A0]+, [A1]+
00000270 66FC bne -0x2 /* 0000026E */
00000272 4E75 rts
00000274 4EED 007A jmp [A5 + 0x7A]
00000278 4E75 rts
export_13:
0000027A 206F 0004 movea.l A0, [A7 + 0x4]
0000027E 222F 0008 move.l D1, [A7 + 0x8]
label00000282:
00000282 4A10 tst.b [A0]
00000284 6712 beq +0x14 /* 00000298 */
00000286 2241 movea.l A1, D1
label00000288:
00000288 4A11 tst.b [A1]
0000028A 6708 beq +0xA /* 00000294 */
0000028C B308 cmpm.b [A1]+, [A0]+
0000028E 5388 subq.l A0, 1
00000290 6706 beq +0x8 /* 00000298 */
00000292 60F4 bra -0xA /* 00000288 */
label00000294:
00000294 5288 addq.l A0, 1
00000296 60EA bra -0x14 /* 00000282 */
label00000298:
00000298 2008 move.l D0, A0
0000029A 90AF 0004 sub.l D0, [A7 + 0x4]
0000029E 4E75 rts
000002A0 4EED 008A jmp [A5 + 0x8A]
000002A4 4E75 rts
export_16:
000002A6 206F 0004 movea.l A0, [A7 + 0x4]
label000002AA:
000002AA 4A18 tst.b [A0]+
000002AC 66FC bne -0x2 /* 000002AA */
000002AE 2008 move.l D0, A0
000002B0 90AF 0004 sub.l D0, [A7 + 0x4]
000002B4 5380 subq.l D0, 1
000002B6 4E75 rts
000002B8 4EED 00A2 jmp [A5 + 0xA2]
000002BC 4E75 rts
000002BE 4CEF 0300 0004 movem.l A1,A0, [A7 + 0x4]
000002C4 2008 move.l D0, A0
000002C6 322F 000C move.w D1, [A7 + 0xC]
000002CA 6F16 ble +0x18 /* 000002E2 */
label000002CC:
000002CC 4A18 tst.b [A0]+
000002CE 66FC bne -0x2 /* 000002CC */
000002D0 5388 subq.l A0, 1
000002D2 5341 subq.w D1, 1
label000002D4:
000002D4 10D9 move.b [A0]+, [A1]+
000002D6 57C9 FFFC dbeq D1, -0x6 /* 000002D4 */
000002DA 4A28 FFFF tst.b [A0 - 0x1]
000002DE 6702 beq +0x4 /* 000002E2 */
000002E0 4210 clr.b [A0]
label000002E2:
000002E2 4E75 rts
000002E4 4CEF 0300 0004 movem.l A1,A0, [A7 + 0x4]
000002EA 4240 clr.w D0
000002EC 322F 000C move.w D1, [A7 + 0xC]
000002F0 6F0A ble +0xC /* 000002FC */
label000002F2:
000002F2 B308 cmpm.b [A1]+, [A0]+
000002F4 6708 beq +0xA /* 000002FE */
label000002F6:
000002F6 1020 move.b D0, -[A0]
000002F8 9021 sub.b D0, -[A1]
000002FA 4880 ext.w D0
label000002FC:
000002FC 600C bra +0xE /* 0000030A */
label000002FE:
000002FE 5341 subq.w D1, 1
00000300 67F4 beq -0xA /* 000002F6 */
00000302 4A28 FFFF tst.b [A0 - 0x1]
00000306 67EE beq -0x10 /* 000002F6 */
00000308 60E8 bra -0x16 /* 000002F2 */
label0000030A:
0000030A 4E75 rts
0000030C 4CEF 0300 0004 movem.l A1,A0, [A7 + 0x4]
00000312 2008 move.l D0, A0
00000314 322F 000C move.w D1, [A7 + 0xC]
00000318 6E02 bgt +0x4 /* 0000031C */
label0000031A:
0000031A 6012 bra +0x14 /* 0000032E */
label0000031C:
0000031C 10D9 move.b [A0]+, [A1]+
0000031E 6706 beq +0x8 /* 00000326 */
00000320 5341 subq.w D1, 1
00000322 6EF8 bgt -0x6 /* 0000031C */
00000324 67F4 beq -0xA /* 0000031A */
label00000326:
00000326 5341 subq.w D1, 1
00000328 67F0 beq -0xE /* 0000031A */
0000032A 4218 clr.b [A0]+
0000032C 60F8 bra -0x6 /* 00000326 */
label0000032E:
0000032E 4E75 rts
export_10:
00000330 206F 0004 movea.l A0, [A7 + 0x4]
00000334 222F 0008 move.l D1, [A7 + 0x8]
00000338 7000 moveq.l D0, 0x00
label0000033A:
0000033A 4A10 tst.b [A0]
0000033C 6710 beq +0x12 /* 0000034E */
0000033E 2241 movea.l A1, D1
label00000340:
00000340 1419 move.b D2, [A1]+
00000342 6604 bne +0x6 /* 00000348 */
00000344 5288 addq.l A0, 1
00000346 60F2 bra -0xC /* 0000033A */
label00000348:
00000348 B410 cmp.b D2, [A0]
0000034A 66F4 bne -0xA /* 00000340 */
0000034C 2008 move.l D0, A0
label0000034E:
0000034E 4E75 rts
00000350 4EED 0072 jmp [A5 + 0x72]
00000354 4E75 rts
00000356 206F 0004 movea.l A0, [A7 + 0x4]
0000035A 102F 0009 move.b D0, [A7 + 0x9]
label0000035E:
0000035E 1218 move.b D1, [A0]+
00000360 6608 bne +0xA /* 0000036A */
00000362 4A00 tst.b D0
00000364 6708 beq +0xA /* 0000036E */
00000366 70FF moveq.l D0, 0xFFFFFFFF
00000368 600C bra +0xE /* 00000376 */
label0000036A:
0000036A B200 cmp.b D1, D0
0000036C 66F0 bne -0xE /* 0000035E */
label0000036E:
0000036E 2008 move.l D0, A0
00000370 90AF 0004 sub.l D0, [A7 + 0x4]
00000374 5340 subq.w D0, 1
label00000376:
00000376 4E75 rts
00000378 206F 0004 movea.l A0, [A7 + 0x4]
0000037C 122F 0009 move.b D1, [A7 + 0x9]
00000380 7001 moveq.l D0, 0x01
label00000382:
00000382 1418 move.b D2, [A0]+
00000384 6708 beq +0xA /* 0000038E */
00000386 B401 cmp.b D2, D1
00000388 66F8 bne -0x6 /* 00000382 */
0000038A 2008 move.l D0, A0
0000038C 60F4 bra -0xA /* 00000382 */
label0000038E:
0000038E 4A01 tst.b D1
00000390 6602 bne +0x4 /* 00000394 */
00000392 2008 move.l D0, A0
label00000394:
00000394 5380 subq.l D0, 1
00000396 4E75 rts
00000398 206F 0004 movea.l A0, [A7 + 0x4]
0000039C 222F 0008 move.l D1, [A7 + 0x8]
000003A0 7000 moveq.l D0, 0x00
label000003A2:
000003A2 4A10 tst.b [A0]
000003A4 6710 beq +0x12 /* 000003B6 */
000003A6 2241 movea.l A1, D1
label000003A8:
000003A8 1419 move.b D2, [A1]+
000003AA 6706 beq +0x8 /* 000003B2 */
000003AC B410 cmp.b D2, [A0]
000003AE 66F8 bne -0x6 /* 000003A8 */
000003B0 2008 move.l D0, A0
label000003B2:
000003B2 5288 addq.l A0, 1
000003B4 60EC bra -0x12 /* 000003A2 */
label000003B6:
000003B6 4E75 rts
000003B8 206F 0004 movea.l A0, [A7 + 0x4]
000003BC 2248 movea.l A1, A0
000003BE 122F 0009 move.b D1, [A7 + 0x9]
000003C2 2008 move.l D0, A0
label000003C4:
000003C4 1418 move.b D2, [A0]+
000003C6 6708 beq +0xA /* 000003D0 */
000003C8 B401 cmp.b D2, D1
000003CA 66F8 bne -0x6 /* 000003C4 */
000003CC 2008 move.l D0, A0
000003CE 60F4 bra -0xA /* 000003C4 */
label000003D0:
000003D0 4A01 tst.b D1
000003D2 6602 bne +0x4 /* 000003D6 */
000003D4 2008 move.l D0, A0
label000003D6:
000003D6 9089 sub.l D0, A1
000003D8 5340 subq.w D0, 1
000003DA 4E75 rts
export_12:
000003DC 206F 0004 movea.l A0, [A7 + 0x4]
000003E0 222F 0008 move.l D1, [A7 + 0x8]
label000003E4:
000003E4 4A10 tst.b [A0]
000003E6 6710 beq +0x12 /* 000003F8 */
000003E8 2241 movea.l A1, D1
label000003EA:
000003EA 4A11 tst.b [A1]
000003EC 670A beq +0xC /* 000003F8 */
000003EE B308 cmpm.b [A1]+, [A0]+
000003F0 5388 subq.l A0, 1
000003F2 66F6 bne -0x8 /* 000003EA */
000003F4 5288 addq.l A0, 1
000003F6 60EC bra -0x12 /* 000003E4 */
label000003F8:
000003F8 2008 move.l D0, A0
000003FA 90AF 0004 sub.l D0, [A7 + 0x4]
000003FE 4E75 rts
00000400 4EED 0082 jmp [A5 + 0x82]
00000404 4E75 rts
fn00000406:
00000406 4E56 FFF8 link A6, -0x0008
0000040A 2F0C move.l -[A7], A4
0000040C 206D 9B76 movea.l A0, [A5 - 0x648A]
00000410 43EE FFF8 lea.l A1, [A6 - 0x8]
00000414 41E8 0010 lea.l A0, [A0 + 0x10]
00000418 22D8 move.l [A1]+, [A0]+
0000041A 22D8 move.l [A1]+, [A0]+
0000041C 302E FFFE move.w D0, [A6 - 0x2]
00000420 0640 FFF1 addi.w D0, 0xFFF1
00000424 3D40 FFFA move.w [A6 - 0x6], D0
00000428 302E FFFC move.w D0, [A6 - 0x4]
0000042C 0640 FFF1 addi.w D0, 0xFFF1
00000430 3D40 FFF8 move.w [A6 - 0x8], D0
00000434 42A7 clr.l -[A7]
00000436 A8D8 trap NewRgn
00000438 205F movea.l A0, [A7]+
0000043A 2848 movea.l A4, A0
0000043C 2F0C move.l -[A7], A4
0000043E A87A trap GetClip
00000440 486E FFF8 pea.l [A6 - 0x8]
00000444 A87B trap ClipRect
00000446 2F2D 9B76 move.l -[A7], [A5 - 0x648A]
0000044A A904 trap DrawGrowIcon
0000044C 2F0C move.l -[A7], A4
0000044E A879 trap SetClip
00000450 2F0C move.l -[A7], A4
00000452 A8D9 trap DisposRgn/DisposeRgn
00000454 285F movea.l A4, [A7]+
00000456 4E5E unlink A6
00000458 4E75 rts
0000045A 4452 neg.w [A2]
0000045C 4157 chk.w D0, [A7]
0000045E 4752 chk.w D3, [A2]
00000460 4F57 chk.w D7, [A7]
fn00000462:
00000462 4E56 0000 link A6, 0
00000466 2F0C move.l -[A7], A4
00000468 286D 9B6E movea.l A4, [A5 - 0x6492]
0000046C 6014 bra +0x16 /* 00000482 */
label0000046E:
0000046E 2054 movea.l A0, [A4]
00000470 2010 move.l D0, [A0]
00000472 B0AE 0008 cmp.l D0, [A6 + 0x8]
00000476 6604 bne +0x6 /* 0000047C */
00000478 200C move.l D0, A4
0000047A 600E bra +0x10 /* 0000048A */
label0000047C:
0000047C 2054 movea.l A0, [A4]
0000047E 2868 0018 movea.l A4, [A0 + 0x18]
label00000482:
00000482 B8FC 0000 cmpa.w A4, 0x0
00000486 66E6 bne -0x18 /* 0000046E */
00000488 7000 moveq.l D0, 0x00
label0000048A:
0000048A 285F movea.l A4, [A7]+
0000048C 4E5E unlink A6
0000048E 4E75 rts
00000490 4745 chk.w D3, D5
00000492 5444 addq.w D4, 2
00000494 494E chk.w D4, A6
00000496 464F not.w A7
fn00000498:
00000498 4E56 0000 link A6, 0
0000049C 2F0C move.l -[A7], A4
0000049E 4AAE 0008 tst.l [A6 + 0x8]
000004A2 6606 bne +0x8 /* 000004AA */
000004A4 486E 0008 pea.l [A6 + 0x8]
000004A8 A874 trap GetPort
label000004AA:
000004AA 2B6E 0008 9B76 move.l [A5 - 0x648A], [A6 + 0x8]
000004B0 2F2D 9B76 move.l -[A7], [A5 - 0x648A]
000004B4 4EBA FFAC jsr [PC - 0x54 /* 00000462 */]
000004B8 588F addq.l A7, 4
000004BA 2B40 9B72 move.l [A5 - 0x648E], D0
000004BE 206D 9B72 movea.l A0, [A5 - 0x648E]
000004C2 2850 movea.l A4, [A0]
000004C4 2B6C 0008 9B7E move.l [A5 - 0x6482], [A4 + 0x8]
000004CA 2B6C 0004 9B7A move.l [A5 - 0x6486], [A4 + 0x4]
000004D0 2B6C 000C 9B82 move.l [A5 - 0x647E], [A4 + 0xC]
000004D6 2B6C 0010 9B86 move.l [A5 - 0x647A], [A4 + 0x10]
000004DC 2B6C 0014 9B8A move.l [A5 - 0x6476], [A4 + 0x14]
000004E2 285F movea.l A4, [A7]+
000004E4 4E5E unlink A6
000004E6 4E75 rts
000004E8 5359 subq.w [A1]+, 1
000004EA 4E43 trap 3
000004EC 474C chk.w D3, A4
000004EE 4F42 chk.w D7, D2
fn000004F0:
000004F0 4E56 FFF8 link A6, -0x0008
000004F4 2F07 move.l -[A7], D7
000004F6 486E FFF8 pea.l [A6 - 0x8]
000004FA A88B trap GetFontInfo
000004FC 302E FFF8 move.w D0, [A6 - 0x8]
00000500 D06E FFFA add.w D0, [A6 - 0x6]
00000504 D06E FFFE add.w D0, [A6 - 0x2]
00000508 3E00 move.w D7, D0
0000050A 206D 9B76 movea.l A0, [A5 - 0x648A]
0000050E 226E 0008 movea.l A1, [A6 + 0x8]
00000512 41E8 0010 lea.l A0, [A0 + 0x10]
00000516 22D8 move.l [A1]+, [A0]+
00000518 22D8 move.l [A1]+, [A0]+
0000051A 206E 0008 movea.l A0, [A6 + 0x8]
0000051E 5868 0002 addq.w [A0 + 0x2], 4
00000522 206E 0008 movea.l A0, [A6 + 0x8]
00000526 0668 FFEF 0006 addi.w [A0 + 0x6], 0xFFEF
0000052C 206E 0008 movea.l A0, [A6 + 0x8]
00000530 5450 addq.w [A0], 2
00000532 206E 0008 movea.l A0, [A6 + 0x8]
00000536 226E 0008 movea.l A1, [A6 + 0x8]
0000053A 3029 0004 move.w D0, [A1 + 0x4]
0000053E 9050 sub.w D0, [A0]
00000540 5540 subq.w D0, 2
00000542 48C0 ext.l D0
00000544 81C7 divs.w D0, D7
00000546 C1C7 muls.w D0, D7
00000548 206E 0008 movea.l A0, [A6 + 0x8]
0000054C D050 add.w D0, [A0]
0000054E 206E 0008 movea.l A0, [A6 + 0x8]
00000552 3140 0004 move.w [A0 + 0x4], D0
00000556 2E1F move.l D7, [A7]+
00000558 4E5E unlink A6
0000055A 4E75 rts
0000055C 4341 chk.w D1, D1
0000055E 4C43 4544 movem.l A6,A2,A0,D6,D2, D3
00000562 4954 chk.w D4, [A4]
fn00000564:
00000564 4E56 0000 link A6, 0
00000568 206D 9B76 movea.l A0, [A5 - 0x648A]
0000056C 226E 0008 movea.l A1, [A6 + 0x8]
00000570 41E8 0010 lea.l A0, [A0 + 0x10]
00000574 22D8 move.l [A1]+, [A0]+
00000576 22D8 move.l [A1]+, [A0]+
00000578 206E 0008 movea.l A0, [A6 + 0x8]
0000057C 5268 0006 addq.w [A0 + 0x6], 1
00000580 206E 0008 movea.l A0, [A6 + 0x8]
00000584 5350 subq.w [A0], 1
00000586 206E 0008 movea.l A0, [A6 + 0x8]
0000058A 3028 0006 move.w D0, [A0 + 0x6]
0000058E 0640 FFF0 addi.w D0, 0xFFF0
00000592 206E 0008 movea.l A0, [A6 + 0x8]
00000596 3140 0002 move.w [A0 + 0x2], D0
0000059A 206E 0008 movea.l A0, [A6 + 0x8]
0000059E 0668 FFF2 0004 addi.w [A0 + 0x4], 0xFFF2
000005A4 4E5E unlink A6
000005A6 4E75 rts
000005A8 4341 chk.w D1, D1
000005AA 4C43 5343 movem.l A6,A4,A1,A0,D6,D1,D0, D3
000005AE 524F addq.w A7, 1
fn000005B0:
000005B0 2F0C move.l -[A7], A4
000005B2 206D 9B7A movea.l A0, [A5 - 0x6486]
000005B6 2850 movea.l A4, [A0]
000005B8 302C 0008 move.w D0, [A4 + 0x8]
000005BC 9054 sub.w D0, [A4]
000005BE 48C0 ext.l D0
000005C0 81EC 0018 divs.w D0, [A4 + 0x18]
000005C4 285F movea.l A4, [A7]+
000005C6 4E75 rts
fn000005C8:
000005C8 42A7 clr.l -[A7]
000005CA A924 trap FrontWindow
000005CC 205F movea.l A0, [A7]+
000005CE B1ED 9B76 cmpa.l A0, [A5 - 0x648A]
000005D2 660E bne +0x10 /* 000005E2 */
000005D4 4267 clr.w -[A7]
000005D6 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
000005DA A962 trap GetControlMaximum/GetMaxCtl
000005DC 301F move.w D0, [A7]+
000005DE 4A40 tst.w D0
000005E0 6E06 bgt +0x8 /* 000005E8 */
label000005E2:
000005E2 303C 00FF move.w D0, 0xFF
000005E6 6002 bra +0x4 /* 000005EA */
label000005E8:
000005E8 7000 moveq.l D0, 0x00
label000005EA:
000005EA 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
000005EE 3F00 move.w -[A7], D0
000005F0 A95D trap HiliteControl
000005F2 4E75 rts
fn000005F4:
000005F4 4E56 0000 link A6, 0
000005F8 48E7 0700 movem.l -[A7], D5,D6,D7
000005FC 206D 9B7A movea.l A0, [A5 - 0x6486]
00000600 2050 movea.l A0, [A0]
00000602 3E28 0018 move.w D7, [A0 + 0x18]
00000606 4EBA FFA8 jsr [PC - 0x58 /* 000005B0 */]
0000060A 3A00 move.w D5, D0
0000060C 3005 move.w D0, D5
0000060E D06E 0008 add.w D0, [A6 + 0x8]
00000612 3C00 move.w D6, D0
00000614 4A46 tst.w D6
00000616 6C02 bge +0x4 /* 0000061A */
00000618 7C00 moveq.l D6, 0x00
label0000061A:
0000061A 4267 clr.w -[A7]
0000061C 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
00000620 A962 trap GetControlMaximum/GetMaxCtl
00000622 301F move.w D0, [A7]+
00000624 BC40 cmp.w D6, D0
00000626 6F0C ble +0xE /* 00000634 */
00000628 4267 clr.w -[A7]
0000062A 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
0000062E A962 trap GetControlMaximum/GetMaxCtl
00000630 301F move.w D0, [A7]+
00000632 3C00 move.w D6, D0
label00000634:
00000634 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
00000638 3F06 move.w -[A7], D6
0000063A A963 trap SetControlValue/SetCtlValue
0000063C 3005 move.w D0, D5
0000063E 9046 sub.w D0, D6
00000640 C1C7 muls.w D0, D7
00000642 4267 clr.w -[A7]
00000644 3F00 move.w -[A7], D0
00000646 2F2D 9B7A move.l -[A7], [A5 - 0x6486]
0000064A A9DD trap TEScroll
0000064C 4CDF 00E0 movem.l D7,D6,D5, [A7]+
00000650 4E5E unlink A6
00000652 4E75 rts
00000654 5343 subq.w D3, 1
00000656 524F addq.w A7, 1
00000658 4C4C 5445 movem.l A6,A4,A2,D6,D2,D0, A4
export_17:
0000065C 4E56 0000 link A6, 0
00000660 48E7 0300 movem.l -[A7], D6,D7
00000664 42A7 clr.l -[A7]
00000666 2F2E 000A move.l -[A7], [A6 + 0xA]
0000066A A95A trap GetControlReference/GetCRefCon
0000066C 201F move.l D0, [A7]+
0000066E 306E 0008 movea.w A0, [A6 + 0x8]
00000672 B1C0 cmpa.l A0, D0
00000674 6600 0060 bne +0x62 /* 000006D6 */
00000678 206D 9B7A movea.l A0, [A5 - 0x6486]
0000067C 226D 9B7A movea.l A1, [A5 - 0x6486]
00000680 2251 movea.l A1, [A1]
00000682 2050 movea.l A0, [A0]
00000684 3028 000C move.w D0, [A0 + 0xC]
00000688 9069 0008 sub.w D0, [A1 + 0x8]
0000068C 206D 9B7A movea.l A0, [A5 - 0x6486]
00000690 2050 movea.l A0, [A0]
00000692 48C0 ext.l D0
00000694 81E8 0018 divs.w D0, [A0 + 0x18]
00000698 48C0 ext.l D0
0000069A 81FC 0002 divs.w D0, 0x2
0000069E 3C00 move.w D6, D0
000006A0 4A46 tst.w D6
000006A2 6602 bne +0x4 /* 000006A6 */
000006A4 5246 addq.w D6, 1
label000006A6:
000006A6 302E 0008 move.w D0, [A6 + 0x8]
000006AA 4EAD 003A jsr [A5 + 0x3A]
000006AE 0014 0017 ori.b [A4], 0x17
000006B2 001C 0008 ori.b [A4]+, 0x8
000006B6 000A 000C ori.b A2, 0xC
000006BA 0012 7EFF ori.b [A2], 0xFF
000006BE 600E bra +0x10 /* 000006CE */
000006C0 7E01 moveq.l D7, 0x01
000006C2 600A bra +0xC /* 000006CE */
000006C4 3006 move.w D0, D6
000006C6 4440 neg.w D0
000006C8 3E00 move.w D7, D0
000006CA 6002 bra +0x4 /* 000006CE */
000006CC 3E06 move.w D7, D6
label000006CE:
000006CE 3F07 move.w -[A7], D7
000006D0 4EBA FF22 jsr [PC - 0xDE /* 000005F4 */]
000006D4 548F addq.l A7, 2
label000006D6:
000006D6 4CDF 00C0 movem.l D7,D6, [A7]+
000006DA 4E5E unlink A6
000006DC 205F movea.l A0, [A7]+
000006DE 4FEF 0006 lea.l A7, [A7 + 0x6]
000006E2 4ED0 jmp [A0]
000006E4 5452 addq.w [A2], 2
000006E6 4143 chk.w D0, D3
000006E8 4B53 chk.w D5, [A3]
000006EA 4352 chk.w D1, [A2]
fn000006EC:
000006EC 4E56 FFF8 link A6, -0x0008
000006F0 48E7 1F00 movem.l -[A7], D3,D4,D5,D6,D7
000006F4 486E FFF8 pea.l [A6 - 0x8]
000006F8 4EBA FDF6 jsr [PC - 0x20A /* 000004F0 */]
000006FC 588F addq.l A7, 4
000006FE 206D 9B7A movea.l A0, [A5 - 0x6486]
00000702 2050 movea.l A0, [A0]
00000704 316E FFFE 0006 move.w [A0 + 0x6], [A6 - 0x2]
0000070A 206D 9B7A movea.l A0, [A5 - 0x6486]
0000070E 2050 movea.l A0, [A0]
00000710 5088 addq.l A0, 8
00000712 43EE FFF8 lea.l A1, [A6 - 0x8]
00000716 20D9 move.l [A0]+, [A1]+
00000718 20D9 move.l [A0]+, [A1]+
0000071A 2F2D 9B7A move.l -[A7], [A5 - 0x6486]
0000071E A9D0 trap TECalText
00000720 206D 9B7A movea.l A0, [A5 - 0x6486]
00000724 2050 movea.l A0, [A0]
00000726 3628 0018 move.w D3, [A0 + 0x18]
0000072A 206D 9B7A movea.l A0, [A5 - 0x6486]
0000072E 2050 movea.l A0, [A0]
00000730 3E28 005E move.w D7, [A0 + 0x5E]
00000734 302E FFFC move.w D0, [A6 - 0x4]
00000738 906E FFF8 sub.w D0, [A6 - 0x8]
0000073C 48C0 ext.l D0
0000073E 81C3 divs.w D0, D3
00000740 3C00 move.w D6, D0
00000742 4EBA FE6C jsr [PC - 0x194 /* 000005B0 */]
00000746 3A00 move.w D5, D0
00000748 3007 move.w D0, D7
0000074A 9045 sub.w D0, D5
0000074C 3206 move.w D1, D6
0000074E 9240 sub.w D1, D0
00000750 3801 move.w D4, D1
00000752 4A44 tst.w D4
00000754 6F1A ble +0x1C /* 00000770 */
00000756 4A45 tst.w D5
00000758 6F16 ble +0x18 /* 00000770 */
0000075A B845 cmp.w D4, D5
0000075C 6F02 ble +0x4 /* 00000760 */
0000075E 3805 move.w D4, D5
label00000760:
00000760 3004 move.w D0, D4
00000762 C1C3 muls.w D0, D3
00000764 4267 clr.w -[A7]
00000766 3F00 move.w -[A7], D0
00000768 2F2D 9B7A move.l -[A7], [A5 - 0x6486]
0000076C A9DD trap TEScroll
0000076E 9A44 sub.w D5, D4
label00000770:
00000770 486E FFF8 pea.l [A6 - 0x8]
00000774 2F2D 9B7A move.l -[A7], [A5 - 0x6486]
00000778 A9D3 trap TEUpdate
0000077A 3007 move.w D0, D7
0000077C 9046 sub.w D0, D6
0000077E 4A40 tst.w D0
00000780 6D06 blt +0x8 /* 00000788 */
00000782 3007 move.w D0, D7
00000784 9046 sub.w D0, D6
00000786 6002 bra +0x4 /* 0000078A */
label00000788:
00000788 7000 moveq.l D0, 0x00
label0000078A:
0000078A 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
0000078E 3F00 move.w -[A7], D0
00000790 A965 trap SetControlMaximum/SetMaxCtl
00000792 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
00000796 3F05 move.w -[A7], D5
00000798 A963 trap SetControlValue/SetCtlValue
0000079A 4EBA FE2C jsr [PC - 0x1D4 /* 000005C8 */]
0000079E 4CDF 00F8 movem.l D7,D6,D5,D4,D3, [A7]+
000007A2 4E5E unlink A6
000007A4 4E75 rts
000007A6 4F56 chk.w D7, [A6]
000007A8 4552 chk.w D2, [A2]
000007AA 4841 swap.w D1
000007AC 554C subq.w A4, 2
export_19:
000007AE 4E56 0000 link A6, 0
000007B2 42A7 clr.l -[A7]
000007B4 4EBA FCE2 jsr [PC - 0x31E /* 00000498 */]
000007B8 588F addq.l A7, 4
000007BA 4EBA FC4A jsr [PC - 0x3B6 /* 00000406 */]
000007BE 4EBA FE08 jsr [PC - 0x1F8 /* 000005C8 */]
000007C2 4AAD 9B82 tst.l [A5 - 0x647E]
000007C6 6710 beq +0x12 /* 000007D8 */
000007C8 102E 0009 move.b D0, [A6 + 0x9]
000007CC 4880 ext.w D0
000007CE 3F00 move.w -[A7], D0
000007D0 206D 9B82 movea.l A0, [A5 - 0x647E]
000007D4 4E90 jsr [A0]
000007D6 548F addq.l A7, 2
label000007D8:
000007D8 4E5E unlink A6
000007DA 4E75 rts
000007DC 4143 chk.w D0, D3
000007DE 5449 addq.w A1, 2
000007E0 5641 addq.w D1, 3
000007E2 5445 addq.w D5, 2
export_20:
000007E4 4E56 FFF8 link A6, -0x0008
000007E8 42A7 clr.l -[A7]
000007EA 4EBA FCAC jsr [PC - 0x354 /* 00000498 */]
000007EE 588F addq.l A7, 4
000007F0 206D 9B76 movea.l A0, [A5 - 0x648A]
000007F4 43EE FFF8 lea.l A1, [A6 - 0x8]
000007F8 41E8 0010 lea.l A0, [A0 + 0x10]
000007FC 22D8 move.l [A1]+, [A0]+
000007FE 22D8 move.l [A1]+, [A0]+
00000800 486E FFF8 pea.l [A6 - 0x8]
00000804 A8A3 trap EraseRect
00000806 4A2E 0009 tst.b [A6 + 0x9]
0000080A 6754 beq +0x56 /* 00000860 */
0000080C 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
00000810 A958 trap HideControl
00000812 206D 9B7E movea.l A0, [A5 - 0x6482]
00000816 2050 movea.l A0, [A0]
00000818 43EE FFF8 lea.l A1, [A6 - 0x8]
0000081C 5088 addq.l A0, 8
0000081E 22D8 move.l [A1]+, [A0]+
00000820 22D8 move.l [A1]+, [A0]+
00000822 486E FFF8 pea.l [A6 - 0x8]
00000826 A92A trap ValidRect
00000828 486E FFF8 pea.l [A6 - 0x8]
0000082C 4EBA FD36 jsr [PC - 0x2CA /* 00000564 */]
00000830 588F addq.l A7, 4
00000832 302E FFFC move.w D0, [A6 - 0x4]
00000836 906E FFF8 sub.w D0, [A6 - 0x8]
0000083A 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
0000083E 3F3C 0010 move.w -[A7], 0x10
00000842 3F00 move.w -[A7], D0
00000844 A95C trap SizeControl
00000846 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
0000084A 3F2E FFFA move.w -[A7], [A6 - 0x6]
0000084E 3F2E FFF8 move.w -[A7], [A6 - 0x8]
00000852 A959 trap MoveControl
00000854 4EBA FE96 jsr [PC - 0x16A /* 000006EC */]
00000858 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
0000085C A957 trap ShowControl
0000085E 601A bra +0x1C /* 0000087A */
label00000860:
00000860 206D 9B7A movea.l A0, [A5 - 0x6486]
00000864 2050 movea.l A0, [A0]
00000866 43EE FFF8 lea.l A1, [A6 - 0x8]
0000086A 5088 addq.l A0, 8
0000086C 22D8 move.l [A1]+, [A0]+
0000086E 22D8 move.l [A1]+, [A0]+
00000870 486E FFF8 pea.l [A6 - 0x8]
00000874 2F2D 9B7A move.l -[A7], [A5 - 0x6486]
00000878 A9D3 trap TEUpdate
label0000087A:
0000087A 4EBA FB8A jsr [PC - 0x476 /* 00000406 */]
0000087E 2F2D 9B76 move.l -[A7], [A5 - 0x648A]
00000882 A969 trap DrawControls
00000884 4E5E unlink A6
00000886 4E75 rts
00000888 5550 subq.w [A0], 2
0000088A 4441 neg.w D1
0000088C 5445 addq.w D5, 2
0000088E 2020 move.l D0, -[A0]
export_21:
00000890 4E56 0000 link A6, 0
00000894 48E7 0300 movem.l -[A7], D6,D7
00000898 42A7 clr.l -[A7]
0000089A 4EBA FBFC jsr [PC - 0x404 /* 00000498 */]
0000089E 588F addq.l A7, 4
000008A0 4267 clr.w -[A7]
000008A2 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
000008A6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000008AA A966 trap TestControl
000008AC 301F move.w D0, [A7]+
000008AE 3E00 move.w D7, D0
000008B0 0C40 0081 cmpi.w D0, 0x81
000008B4 6638 bne +0x3A /* 000008EE */
000008B6 4267 clr.w -[A7]
000008B8 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
000008BC A960 trap GetControlValue/GetCtlValue
000008BE 301F move.w D0, [A7]+
000008C0 3C00 move.w D6, D0
000008C2 4267 clr.w -[A7]
000008C4 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
000008C8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000008CC 42A7 clr.l -[A7]
000008CE A968 trap TrackControl
000008D0 301F move.w D0, [A7]+
000008D2 0C40 0081 cmpi.w D0, 0x81
000008D6 6636 bne +0x38 /* 0000090E */
000008D8 4267 clr.w -[A7]
000008DA 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
000008DE A960 trap GetControlValue/GetCtlValue
000008E0 301F move.w D0, [A7]+
000008E2 9046 sub.w D0, D6
000008E4 3F00 move.w -[A7], D0
000008E6 4EBA FD0C jsr [PC - 0x2F4 /* 000005F4 */]
000008EA 548F addq.l A7, 2
000008EC 6020 bra +0x22 /* 0000090E */
label000008EE:
000008EE 4A47 tst.w D7
000008F0 671C beq +0x1E /* 0000090E */
000008F2 3047 movea.w A0, D7
000008F4 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
000008F8 2F08 move.l -[A7], A0
000008FA A95B trap SetControlReference/SetCRefCon
000008FC 4267 clr.w -[A7]
000008FE 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
00000902 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000906 486D 00AA pea.l [A5 + 0xAA]
0000090A A968 trap TrackControl
0000090C 301F move.w D0, [A7]+
label0000090E:
0000090E 4CDF 00C0 movem.l D7,D6, [A7]+
00000912 4E5E unlink A6
00000914 4E75 rts
00000916 4D4F chk.w D6, A7
00000918 5553 subq.w [A3], 2
0000091A 4520 .invalid 2, -[A0] // invalid opcode 4 with b == 4
0000091C 2020 move.l D0, -[A0]
export_18:
0000091E 48E7 0018 movem.l -[A7], A3,A4
00000922 42A7 clr.l -[A7]
00000924 4EBA FB72 jsr [PC - 0x48E /* 00000498 */]
00000928 588F addq.l A7, 4
0000092A 202D 9B76 move.l D0, [A5 - 0x648A]
0000092E B0AD 9B8E cmp.l D0, [A5 - 0x6472]
00000932 6608 bne +0xA /* 0000093C */
00000934 42A7 clr.l -[A7]
00000936 4EBA 02AA jsr [PC + 0x2AA /* 00000BE2 */]
0000093A 588F addq.l A7, 4
label0000093C:
0000093C 206D 9B6E movea.l A0, [A5 - 0x6492]
00000940 2050 movea.l A0, [A0]
00000942 2010 move.l D0, [A0]
00000944 B0AD 9B76 cmp.l D0, [A5 - 0x648A]
00000948 6612 bne +0x14 /* 0000095C */
0000094A 266D 9B6E movea.l A3, [A5 - 0x6492]
0000094E 206D 9B6E movea.l A0, [A5 - 0x6492]
00000952 2050 movea.l A0, [A0]
00000954 2B68 0018 9B6E move.l [A5 - 0x6492], [A0 + 0x18]
0000095A 602A bra +0x2C /* 00000986 */
label0000095C:
0000095C 286D 9B6E movea.l A4, [A5 - 0x6492]
00000960 601E bra +0x20 /* 00000980 */
label00000962:
00000962 2054 movea.l A0, [A4]
00000964 2668 0018 movea.l A3, [A0 + 0x18]
00000968 2053 movea.l A0, [A3]
0000096A 2010 move.l D0, [A0]
0000096C B0AD 9B76 cmp.l D0, [A5 - 0x648A]
00000970 660C bne +0xE /* 0000097E */
00000972 2053 movea.l A0, [A3]
00000974 2254 movea.l A1, [A4]
00000976 2368 0018 0018 move.l [A1 + 0x18], [A0 + 0x18]
0000097C 6008 bra +0xA /* 00000986 */
label0000097E:
0000097E 284B movea.l A4, A3
label00000980:
00000980 B8FC 0000 cmpa.w A4, 0x0
00000984 66DC bne -0x22 /* 00000962 */
label00000986:
00000986 2F0B move.l -[A7], A3
00000988 4EAD 0202 jsr [A5 + 0x202]
0000098C 2F2D 9B7A move.l -[A7], [A5 - 0x6486]
00000990 A9CD trap TEDispose
00000992 2F2D 9B76 move.l -[A7], [A5 - 0x648A]
00000996 A914 trap DisposeWindow
00000998 42AD 9B76 clr.l [A5 - 0x648A]
0000099C 4CDF 1800 movem.l A4,A3, [A7]+
000009A0 4E75 rts
fn000009A2:
000009A2 4E56 0000 link A6, 0
000009A6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000009AA 4EBA FAB6 jsr [PC - 0x54A /* 00000462 */]
000009AE 588F addq.l A7, 4
000009B0 4A80 tst.l D0
000009B2 56C0 sne D0
000009B4 4400 neg.b D0
000009B6 4880 ext.w D0
000009B8 4E5E unlink A6
000009BA 4E75 rts
000009BC 4953 chk.w D4, [A3]
000009BE 4457 neg.w [A7]
000009C0 494E chk.w D4, A6
000009C2 444F neg.w A7
000009C4 4E56 0000 link A6, 0
000009C8 2F0C move.l -[A7], A4
000009CA 2F2E 0008 move.l -[A7], [A6 + 0x8]
000009CE 4EBA FA92 jsr [PC - 0x56E /* 00000462 */]
000009D2 588F addq.l A7, 4
000009D4 4A80 tst.l D0
000009D6 6708 beq +0xA /* 000009E0 */
000009D8 2054 movea.l A0, [A4]
000009DA 2028 0004 move.l D0, [A0 + 0x4]
000009DE 6002 bra +0x4 /* 000009E2 */
label000009E0:
000009E0 7000 moveq.l D0, 0x00
label000009E2:
000009E2 285F movea.l A4, [A7]+
000009E4 4E5E unlink A6
000009E6 4E75 rts
000009E8 4745 chk.w D3, D5
000009EA 5444 addq.w D4, 2
000009EC 5749 subq.w A1, 3
000009EE 4E44 trap 4
fn000009F0:
000009F0 4E56 FFEC link A6, -0x0014
000009F4 2F0C move.l -[A7], A4
000009F6 4AAE 0008 tst.l [A6 + 0x8]
000009FA 661C bne +0x1E /* 00000A18 */
000009FC 3B6E 000C 9B5A move.w [A5 - 0x64A6], [A6 + 0xC]
00000A02 3B6E 000E 9B5C move.w [A5 - 0x64A4], [A6 + 0xE]
00000A08 3B6E 0010 9B5E move.w [A5 - 0x64A2], [A6 + 0x10]
00000A0E 3B6E 0012 9B60 move.w [A5 - 0x64A0], [A6 + 0x12]
00000A14 6000 00B8 bra +0xBA /* 00000ACE */
label00000A18:
00000A18 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000A1C 4EBA FF84 jsr [PC - 0x7C /* 000009A2 */]
00000A20 588F addq.l A7, 4
00000A22 4A00 tst.b D0
00000A24 6700 00A8 beq +0xAA /* 00000ACE */
00000A28 486E FFFC pea.l [A6 - 0x4]
00000A2C A874 trap GetPort
00000A2E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000A32 4EBA FA64 jsr [PC - 0x59C /* 00000498 */]
00000A36 588F addq.l A7, 4
00000A38 2F2D 9B76 move.l -[A7], [A5 - 0x648A]
00000A3C A873 trap SetPort
00000A3E 286D 9B7A movea.l A4, [A5 - 0x6486]
00000A42 2054 movea.l A0, [A4]
00000A44 43EE FFEC lea.l A1, [A6 - 0x14]
00000A48 5088 addq.l A0, 8
00000A4A 22D8 move.l [A1]+, [A0]+
00000A4C 22D8 move.l [A1]+, [A0]+
00000A4E 486E FFEC pea.l [A6 - 0x14]
00000A52 A8A3 trap EraseRect
00000A54 2054 movea.l A0, [A4]
00000A56 43EE FFEC lea.l A1, [A6 - 0x14]
00000A5A 22D8 move.l [A1]+, [A0]+
00000A5C 22D8 move.l [A1]+, [A0]+
00000A5E 7002 moveq.l D0, 0x02
00000A60 906E FFEC sub.w D0, [A6 - 0x14]
00000A64 486E FFEC pea.l [A6 - 0x14]
00000A68 4267 clr.w -[A7]
00000A6A 3F00 move.w -[A7], D0
00000A6C A8A8 trap OffsetRect
00000A6E 2054 movea.l A0, [A4]
00000A70 43EE FFEC lea.l A1, [A6 - 0x14]
00000A74 20D9 move.l [A0]+, [A1]+
00000A76 20D9 move.l [A0]+, [A1]+
00000A78 2054 movea.l A0, [A4]
00000A7A 316E 0010 0048 move.w [A0 + 0x48], [A6 + 0x10]
00000A80 3F2E 0012 move.w -[A7], [A6 + 0x12]
00000A84 2F0C move.l -[A7], A4
00000A86 A9DF trap TESetAlignment/TESetJust
00000A88 3F2E 000C move.w -[A7], [A6 + 0xC]
00000A8C A887 trap TextFont
00000A8E 3F2E 000E move.w -[A7], [A6 + 0xE]
00000A92 A88A trap TextSize
00000A94 486E FFF4 pea.l [A6 - 0xC]
00000A98 A88B trap GetFontInfo
00000A9A 302E FFF4 move.w D0, [A6 - 0xC]
00000A9E D06E FFF6 add.w D0, [A6 - 0xA]
00000AA2 D06E FFFA add.w D0, [A6 - 0x6]
00000AA6 2054 movea.l A0, [A4]
00000AA8 3140 0018 move.w [A0 + 0x18], D0
00000AAC 2054 movea.l A0, [A4]
00000AAE 316E FFF4 001A move.w [A0 + 0x1A], [A6 - 0xC]
00000AB4 2054 movea.l A0, [A4]
00000AB6 316E 000C 004A move.w [A0 + 0x4A], [A6 + 0xC]
00000ABC 2054 movea.l A0, [A4]
00000ABE 316E 000E 0050 move.w [A0 + 0x50], [A6 + 0xE]
00000AC4 4EBA FC26 jsr [PC - 0x3DA /* 000006EC */]
00000AC8 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000ACC A873 trap SetPort
label00000ACE:
00000ACE 285F movea.l A4, [A7]+
00000AD0 4E5E unlink A6
00000AD2 4E75 rts
00000AD4 5345 subq.w D5, 1
00000AD6 5444 addq.w D4, 2
00000AD8 5749 subq.w A1, 3
00000ADA 4E44 trap 4
fn00000ADC:
00000ADC 4E56 FFFC link A6, -0x0004
00000AE0 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000AE4 4EBA FEBC jsr [PC - 0x144 /* 000009A2 */]
00000AE8 588F addq.l A7, 4
00000AEA 4A00 tst.b D0
00000AEC 6734 beq +0x36 /* 00000B22 */
00000AEE 486E FFFC pea.l [A6 - 0x4]
00000AF2 A874 trap GetPort
00000AF4 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000AF8 4EBA F99E jsr [PC - 0x662 /* 00000498 */]
00000AFC 588F addq.l A7, 4
00000AFE 2F2D 9B76 move.l -[A7], [A5 - 0x648A]
00000B02 A873 trap SetPort
00000B04 4267 clr.w -[A7]
00000B06 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
00000B0A A960 trap GetControlValue/GetCtlValue
00000B0C 301F move.w D0, [A7]+
00000B0E 322E 000C move.w D1, [A6 + 0xC]
00000B12 9240 sub.w D1, D0
00000B14 3F01 move.w -[A7], D1
00000B16 4EBA FADC jsr [PC - 0x524 /* 000005F4 */]
00000B1A 548F addq.l A7, 2
00000B1C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000B20 A873 trap SetPort
label00000B22:
00000B22 4E5E unlink A6
00000B24 4E75 rts
00000B26 5345 subq.w D5, 1
00000B28 5444 addq.w D4, 2
00000B2A 5749 subq.w A1, 3
00000B2C 4E44 trap 4
fn00000B2E:
00000B2E 4E56 0000 link A6, 0
00000B32 2F0C move.l -[A7], A4
00000B34 4AAE 0008 tst.l [A6 + 0x8]
00000B38 6608 bne +0xA /* 00000B42 */
00000B3A 2B6E 000C 9B6A move.l [A5 - 0x6496], [A6 + 0xC]
00000B40 6018 bra +0x1A /* 00000B5A */
label00000B42:
00000B42 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000B46 4EBA F91A jsr [PC - 0x6E6 /* 00000462 */]
00000B4A 588F addq.l A7, 4
00000B4C 2840 movea.l A4, D0
00000B4E 4A80 tst.l D0
00000B50 6708 beq +0xA /* 00000B5A */
00000B52 2054 movea.l A0, [A4]
00000B54 216E 000C 000C move.l [A0 + 0xC], [A6 + 0xC]
label00000B5A:
00000B5A 285F movea.l A4, [A7]+
00000B5C 4E5E unlink A6
00000B5E 4E75 rts
00000B60 5345 subq.w D5, 1
00000B62 5444 addq.w D4, 2
00000B64 5749 subq.w A1, 3
00000B66 4E44 trap 4
fn00000B68:
00000B68 4E56 0000 link A6, 0
00000B6C 2F0C move.l -[A7], A4
00000B6E 0CAE 0000 7FFF 000C cmpi.l [A6 + 0xC], 0x7FFF
00000B76 6F08 ble +0xA /* 00000B80 */
00000B78 2D7C 0000 7FFF 000C move.l [A6 + 0xC], 0x7FFF
label00000B80:
00000B80 0CAE 0000 0064 000C cmpi.l [A6 + 0xC], 0x64 /* 'd' */
00000B88 6C06 bge +0x8 /* 00000B90 */
00000B8A 7064 moveq.l D0, 0x64
00000B8C 2D40 000C move.l [A6 + 0xC], D0
label00000B90:
00000B90 0CAE 0000 0064 0010 cmpi.l [A6 + 0x10], 0x64 /* 'd' */
00000B98 6C06 bge +0x8 /* 00000BA0 */
00000B9A 7064 moveq.l D0, 0x64
00000B9C 2D40 0010 move.l [A6 + 0x10], D0
label00000BA0:
00000BA0 4AAE 0008 tst.l [A6 + 0x8]
00000BA4 660E bne +0x10 /* 00000BB4 */
00000BA6 2B6E 000C 9B62 move.l [A5 - 0x649E], [A6 + 0xC]
00000BAC 2B6E 0010 9B66 move.l [A5 - 0x649A], [A6 + 0x10]
00000BB2 6020 bra +0x22 /* 00000BD4 */
label00000BB4:
00000BB4 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000BB8 4EBA F8A8 jsr [PC - 0x758 /* 00000462 */]
00000BBC 588F addq.l A7, 4
00000BBE 2840 movea.l A4, D0
00000BC0 4A80 tst.l D0
00000BC2 6710 beq +0x12 /* 00000BD4 */
00000BC4 2054 movea.l A0, [A4]
00000BC6 216E 000C 0010 move.l [A0 + 0x10], [A6 + 0xC]
00000BCC 2054 movea.l A0, [A4]
00000BCE 216E 0010 0014 move.l [A0 + 0x14], [A6 + 0x10]
label00000BD4:
00000BD4 285F movea.l A4, [A7]+
00000BD6 4E5E unlink A6
00000BD8 4E75 rts
00000BDA 5345 subq.w D5, 1
00000BDC 5444 addq.w D4, 2
00000BDE 5749 subq.w A1, 3
00000BE0 4E44 trap 4
fn00000BE2:
00000BE2 4E56 0000 link A6, 0
00000BE6 4AAE 0008 tst.l [A6 + 0x8]
00000BEA 670E beq +0x10 /* 00000BFA */
00000BEC 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000BF0 4EBA FDB0 jsr [PC - 0x250 /* 000009A2 */]
00000BF4 588F addq.l A7, 4
00000BF6 4A00 tst.b D0
00000BF8 6706 beq +0x8 /* 00000C00 */
label00000BFA:
00000BFA 2B6E 0008 9B8E move.l [A5 - 0x6472], [A6 + 0x8]
label00000C00:
00000C00 4E5E unlink A6
00000C02 4E75 rts
00000C04 5345 subq.w D5, 1
00000C06 5444 addq.w D4, 2
00000C08 5749 subq.w A1, 3
00000C0A 4E44 trap 4
00000C0C 4E56 0000 link A6, 0
00000C10 206E 0008 movea.l A0, [A6 + 0x8]
00000C14 20AD 9B8E move.l [A0], [A5 - 0x6472]
00000C18 4E5E unlink A6
00000C1A 4E75 rts
00000C1C 4745 chk.w D3, D5
00000C1E 5444 addq.w D4, 2
00000C20 5749 subq.w A1, 3
00000C22 4E44 trap 4
fn00000C24:
00000C24 4E56 0000 link A6, 0
00000C28 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000C2C 4EBA FD74 jsr [PC - 0x28C /* 000009A2 */]
00000C30 588F addq.l A7, 4
00000C32 4A00 tst.b D0
00000C34 6720 beq +0x22 /* 00000C56 */
00000C36 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000C3A 4EBA F85C jsr [PC - 0x7A4 /* 00000498 */]
00000C3E 588F addq.l A7, 4
00000C40 42A7 clr.l -[A7]
00000C42 2F2E 000C move.l -[A7], [A6 + 0xC]
00000C46 2F2D 9B7A move.l -[A7], [A5 - 0x6486]
00000C4A A9D1 trap TESetSelect
00000C4C 2F2D 9B7A move.l -[A7], [A5 - 0x6486]
00000C50 A9D7 trap TEDelete
00000C52 4EBA FA98 jsr [PC - 0x568 /* 000006EC */]
label00000C56:
00000C56 4E5E unlink A6
00000C58 4E75 rts
00000C5A 464C not.w A4
00000C5C 5553 subq.w [A3], 2
00000C5E 4844 swap.w D4
00000C60 5749 subq.w A1, 3
fn00000C62:
00000C62 4E56 FFF4 link A6, -0x000C
00000C66 2F0C move.l -[A7], A4
00000C68 486E FFF4 pea.l [A6 - 0xC]
00000C6C A874 trap GetPort
00000C6E 4267 clr.w -[A7]
00000C70 42A7 clr.l -[A7]
00000C72 486D 00B2 pea.l [A5 + 0xB2]
00000C76 42A7 clr.l -[A7]
00000C78 486D 00BA pea.l [A5 + 0xBA]
00000C7C 486D 00C2 pea.l [A5 + 0xC2]
00000C80 42A7 clr.l -[A7]
00000C82 486D 00CA pea.l [A5 + 0xCA]
00000C86 2F2D 9B76 move.l -[A7], [A5 - 0x648A]
00000C8A 4EBA 0E08 jsr [PC + 0xE08 /* 00001A94 */]
00000C8E 4FEF 0022 lea.l A7, [A7 + 0x22]
00000C92 4A40 tst.w D0
00000C94 660C bne +0xE /* 00000CA2 */
00000C96 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000C9A A873 trap SetPort
00000C9C 7000 moveq.l D0, 0x00
00000C9E 6000 00CE bra +0xD0 /* 00000D6E */
label00000CA2:
00000CA2 486E FFF8 pea.l [A6 - 0x8]
00000CA6 4EBA F8BC jsr [PC - 0x744 /* 00000564 */]
00000CAA 588F addq.l A7, 4
00000CAC 42A7 clr.l -[A7]
00000CAE 2F2D 9B76 move.l -[A7], [A5 - 0x648A]
00000CB2 486E FFF8 pea.l [A6 - 0x8]
00000CB6 486D 9B92 pea.l [A5 - 0x646E]
00000CBA 1F3C 0001 move.b -[A7], 0x1
00000CBE 4267 clr.w -[A7]
00000CC0 4267 clr.w -[A7]
00000CC2 4267 clr.w -[A7]
00000CC4 3F3C 0010 move.w -[A7], 0x10
00000CC8 42A7 clr.l -[A7]
00000CCA A954 trap NewControl
00000CCC 205F movea.l A0, [A7]+
00000CCE 2B48 9B7E move.l [A5 - 0x6482], A0
00000CD2 486E FFF8 pea.l [A6 - 0x8]
00000CD6 4EBA F818 jsr [PC - 0x7E8 /* 000004F0 */]
00000CDA 588F addq.l A7, 4
00000CDC 42A7 clr.l -[A7]
00000CDE 486E FFF8 pea.l [A6 - 0x8]
00000CE2 486E FFF8 pea.l [A6 - 0x8]
00000CE6 A9D2 trap TENew
00000CE8 205F movea.l A0, [A7]+
00000CEA 2B48 9B7A move.l [A5 - 0x6486], A0
00000CEE 42A7 clr.l -[A7]
00000CF0 4878 001C pea.l [0x0000001C /* __m68k_vec_trapv__ */]
00000CF4 4EAD 01FA jsr [A5 + 0x1FA]
00000CF8 205F movea.l A0, [A7]+
00000CFA 2848 movea.l A4, A0
00000CFC 2054 movea.l A0, [A4]
00000CFE 216D 9B6E 0018 move.l [A0 + 0x18], [A5 - 0x6492]
00000D04 2B4C 9B6E move.l [A5 - 0x6492], A4
00000D08 2054 movea.l A0, [A4]
00000D0A 20AD 9B76 move.l [A0], [A5 - 0x648A]
00000D0E 2054 movea.l A0, [A4]
00000D10 216D 9B7E 0008 move.l [A0 + 0x8], [A5 - 0x6482]
00000D16 2054 movea.l A0, [A4]
00000D18 216D 9B7A 0004 move.l [A0 + 0x4], [A5 - 0x6486]
00000D1E 2F2D 9B6A move.l -[A7], [A5 - 0x6496]
00000D22 2F2D 9B76 move.l -[A7], [A5 - 0x648A]
00000D26 4EBA FE06 jsr [PC - 0x1FA /* 00000B2E */]
00000D2A 508F addq.l A7, 8
00000D2C 2F2D 9B66 move.l -[A7], [A5 - 0x649A]
00000D30 2F2D 9B62 move.l -[A7], [A5 - 0x649E]
00000D34 2F2D 9B76 move.l -[A7], [A5 - 0x648A]
00000D38 4EBA FE2E jsr [PC - 0x1D2 /* 00000B68 */]
00000D3C 4FEF 000C lea.l A7, [A7 + 0xC]
00000D40 3F2D 9B60 move.w -[A7], [A5 - 0x64A0]
00000D44 3F2D 9B5E move.w -[A7], [A5 - 0x64A2]
00000D48 3F2D 9B5C move.w -[A7], [A5 - 0x64A4]
00000D4C 3F2D 9B5A move.w -[A7], [A5 - 0x64A6]
00000D50 2F2D 9B76 move.l -[A7], [A5 - 0x648A]
00000D54 4EBA FC9A jsr [PC - 0x366 /* 000009F0 */]
00000D58 4FEF 000C lea.l A7, [A7 + 0xC]
00000D5C 2F2D 9B76 move.l -[A7], [A5 - 0x648A]
00000D60 4EBA FE80 jsr [PC - 0x180 /* 00000BE2 */]
00000D64 588F addq.l A7, 4
00000D66 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000D6A A873 trap SetPort
00000D6C 7001 moveq.l D0, 0x01
label00000D6E:
00000D6E 285F movea.l A4, [A7]+
00000D70 4E5E unlink A6
00000D72 4E75 rts
00000D74 5345 subq.w D5, 1
00000D76 5455 addq.w [A5], 2
00000D78 5044 addq.w D4, 8
00000D7A 5749 subq.w A1, 3
00000D7C 4E56 0000 link A6, 0
00000D80 42A7 clr.l -[A7]
00000D82 42A7 clr.l -[A7]
00000D84 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000D88 2F2E 000C move.l -[A7], [A6 + 0xC]
00000D8C 1F2E 0011 move.b -[A7], [A6 + 0x11]
00000D90 3F3C 0008 move.w -[A7], 0x8
00000D94 2F2E 0012 move.l -[A7], [A6 + 0x12]
00000D98 1F2E 0017 move.b -[A7], [A6 + 0x17]
00000D9C 2F2E 0018 move.l -[A7], [A6 + 0x18]
00000DA0 A913 trap NewWindow
00000DA2 205F movea.l A0, [A7]+
00000DA4 2B48 9B76 move.l [A5 - 0x648A], A0
00000DA8 B0FC 0000 cmpa.w A0, 0x0
00000DAC 6714 beq +0x16 /* 00000DC2 */
00000DAE 4EBA FEB2 jsr [PC - 0x14E /* 00000C62 */]
00000DB2 4A40 tst.w D0
00000DB4 6706 beq +0x8 /* 00000DBC */
00000DB6 202D 9B76 move.l D0, [A5 - 0x648A]
00000DBA 6008 bra +0xA /* 00000DC4 */
label00000DBC:
00000DBC 2F2D 9B76 move.l -[A7], [A5 - 0x648A]
00000DC0 A914 trap DisposeWindow
label00000DC2:
00000DC2 7000 moveq.l D0, 0x00
label00000DC4:
00000DC4 4E5E unlink A6
00000DC6 4E75 rts
00000DC8 4E45 trap 5
00000DCA 5744 subq.w D4, 3
00000DCC 5749 subq.w A1, 3
00000DCE 4E44 trap 4
fn00000DD0:
00000DD0 4E56 0000 link A6, 0
00000DD4 42A7 clr.l -[A7]
00000DD6 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000DDA 42A7 clr.l -[A7]
00000DDC 2F2E 000A move.l -[A7], [A6 + 0xA]
00000DE0 A9BD trap GetNewWindow
00000DE2 205F movea.l A0, [A7]+
00000DE4 2B48 9B76 move.l [A5 - 0x648A], A0
00000DE8 B0FC 0000 cmpa.w A0, 0x0
00000DEC 6714 beq +0x16 /* 00000E02 */
00000DEE 4EBA FE72 jsr [PC - 0x18E /* 00000C62 */]
00000DF2 4A40 tst.w D0
00000DF4 6706 beq +0x8 /* 00000DFC */
00000DF6 202D 9B76 move.l D0, [A5 - 0x648A]
00000DFA 6008 bra +0xA /* 00000E04 */
label00000DFC:
00000DFC 2F2D 9B76 move.l -[A7], [A5 - 0x648A]
00000E00 A914 trap DisposeWindow
label00000E02:
00000E02 7000 moveq.l D0, 0x00
label00000E04:
00000E04 4E5E unlink A6
00000E06 4E75 rts
00000E08 4745 chk.w D3, D5
00000E0A 544E addq.w A6, 2
00000E0C 4557 chk.w D2, [A7]
00000E0E 4457 neg.w [A7]
fn00000E10:
00000E10 4E56 FFF4 link A6, -0x000C
00000E14 48E7 1F08 movem.l -[A7], D3,D4,D5,D6,D7,A4
00000E18 4AAD 9B8E tst.l [A5 - 0x6472]
00000E1C 6700 00D6 beq +0xD8 /* 00000EF4 */
00000E20 486E FFF4 pea.l [A6 - 0xC]
00000E24 A874 trap GetPort
00000E26 2F2D 9B8E move.l -[A7], [A5 - 0x6472]
00000E2A A873 trap SetPort
00000E2C 2F2D 9B8E move.l -[A7], [A5 - 0x6472]
00000E30 4EBA F666 jsr [PC - 0x99A /* 00000498 */]
00000E34 588F addq.l A7, 4
00000E36 286D 9B7A movea.l A4, [A5 - 0x6486]
00000E3A 2054 movea.l A0, [A4]
00000E3C 3068 003C movea.w A0, [A0 + 0x3C]
00000E40 D1EE 000C add.l A0, [A6 + 0xC]
00000E44 B1ED 9B86 cmpa.l A0, [A5 - 0x647A]
00000E48 6F18 ble +0x1A /* 00000E62 */
00000E4A 2F2D 9B8A move.l -[A7], [A5 - 0x6476]
00000E4E 2F2D 9B76 move.l -[A7], [A5 - 0x648A]
00000E52 4EBA FDD0 jsr [PC - 0x230 /* 00000C24 */]
00000E56 508F addq.l A7, 8
00000E58 486D 9B94 pea.l [A5 - 0x646C]
00000E5C 4EBA 00A6 jsr [PC + 0xA6 /* 00000F04 */]
00000E60 588F addq.l A7, 4
label00000E62:
00000E62 2054 movea.l A0, [A4]
00000E64 3628 0018 move.w D3, [A0 + 0x18]
00000E68 4878 7FFF pea.l [0x00007FFF]
00000E6C 4878 7FFF pea.l [0x00007FFF]
00000E70 2F0C move.l -[A7], A4
00000E72 A9D1 trap TESetSelect
00000E74 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000E78 2F2E 000C move.l -[A7], [A6 + 0xC]
00000E7C 2F0C move.l -[A7], A4
00000E7E A9DE trap TEInsert
00000E80 2054 movea.l A0, [A4]
00000E82 43EE FFF8 lea.l A1, [A6 - 0x8]
00000E86 5088 addq.l A0, 8
00000E88 22D8 move.l [A1]+, [A0]+
00000E8A 22D8 move.l [A1]+, [A0]+
00000E8C 2054 movea.l A0, [A4]
00000E8E 3E28 005E move.w D7, [A0 + 0x5E]
00000E92 302E FFFC move.w D0, [A6 - 0x4]
00000E96 906E FFF8 sub.w D0, [A6 - 0x8]
00000E9A 48C0 ext.l D0
00000E9C 81C3 divs.w D0, D3
00000E9E 3C00 move.w D6, D0
00000EA0 4EBA F70E jsr [PC - 0x8F2 /* 000005B0 */]
00000EA4 3A00 move.w D5, D0
00000EA6 3005 move.w D0, D5
00000EA8 D046 add.w D0, D6
00000EAA 3207 move.w D1, D7
00000EAC 9240 sub.w D1, D0
00000EAE 3801 move.w D4, D1
00000EB0 4A44 tst.w D4
00000EB2 6F0E ble +0x10 /* 00000EC2 */
00000EB4 3003 move.w D0, D3
00000EB6 4440 neg.w D0
00000EB8 C1C4 muls.w D0, D4
00000EBA 4267 clr.w -[A7]
00000EBC 3F00 move.w -[A7], D0
00000EBE 2F0C move.l -[A7], A4
00000EC0 A9DD trap TEScroll
label00000EC2:
00000EC2 3007 move.w D0, D7
00000EC4 9046 sub.w D0, D6
00000EC6 3A00 move.w D5, D0
00000EC8 4A45 tst.w D5
00000ECA 6D1E blt +0x20 /* 00000EEA */
00000ECC 4267 clr.w -[A7]
00000ECE 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
00000ED2 A962 trap GetControlMaximum/GetMaxCtl
00000ED4 301F move.w D0, [A7]+
00000ED6 B045 cmp.w D0, D5
00000ED8 6710 beq +0x12 /* 00000EEA */
00000EDA 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
00000EDE 3F05 move.w -[A7], D5
00000EE0 A965 trap SetControlMaximum/SetMaxCtl
00000EE2 2F2D 9B7E move.l -[A7], [A5 - 0x6482]
00000EE6 3F05 move.w -[A7], D5
00000EE8 A963 trap SetControlValue/SetCtlValue
label00000EEA:
00000EEA 4EBA F6DC jsr [PC - 0x924 /* 000005C8 */]
00000EEE 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000EF2 A873 trap SetPort
label00000EF4:
00000EF4 4CDF 10F8 movem.l A4,D7,D6,D5,D4,D3, [A7]+
00000EF8 4E5E unlink A6
00000EFA 4E75 rts
00000EFC 4449 neg.w A1
00000EFE 5350 subq.w [A0], 1
00000F00 4C41 5954 movem.l A6,A4,A3,A0,D6,D4,D2, D1
fn00000F04:
00000F04 4E56 0000 link A6, 0
00000F08 206E 0008 movea.l A0, [A6 + 0x8]
00000F0C 7000 moveq.l D0, 0x00
00000F0E 1010 move.b D0, [A0]
00000F10 2F00 move.l -[A7], D0
00000F12 206E 0008 movea.l A0, [A6 + 0x8]
00000F16 4868 0001 pea.l [A0 + 0x1]
00000F1A 4EBA FEF4 jsr [PC - 0x10C /* 00000E10 */]
00000F1E 508F addq.l A7, 8
00000F20 4E5E unlink A6
00000F22 4E75 rts
00000F24 4449 neg.w A1
00000F26 5350 subq.w [A0], 1
00000F28 4C41 5953 movem.l A6,A4,A3,A0,D6,D4,D1,D0, D1
fn00000F2C:
00000F2C 4E56 FF00 link A6, -0x0100
00000F30 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000F34 486E FF00 pea.l [A6 - 0x100]
00000F38 4EAD 0272 jsr [A5 + 0x272]
00000F3C 486E FF00 pea.l [A6 - 0x100]
00000F40 4EBA FFC2 jsr [PC - 0x3E /* 00000F04 */]
00000F44 588F addq.l A7, 4
00000F46 4E5E unlink A6
00000F48 4E75 rts
00000F4A 4449 neg.w A1
00000F4C 5350 subq.w [A0], 1
00000F4E 4C41 594C movem.l A6,A4,A3,A0,D6,D3,D2, D1
00000F52 4E56 0000 link A6, 0
00000F56 306E 0008 movea.w A0, [A6 + 0x8]
00000F5A 2F08 move.l -[A7], A0
00000F5C 4EBA FFCE jsr [PC - 0x32 /* 00000F2C */]
00000F60 588F addq.l A7, 4
00000F62 4E5E unlink A6
00000F64 4E75 rts
00000F66 4449 neg.w A1
00000F68 5350 subq.w [A0], 1
00000F6A 4C41 5949 movem.l A6,A4,A3,A0,D6,D3,D0, D1
fn00000F6E:
00000F6E 4E56 0000 link A6, 0
00000F72 4878 0001 pea.l [0x00000001]
00000F76 486E 0009 pea.l [A6 + 0x9]
00000F7A 4EBA FE94 jsr [PC - 0x16C /* 00000E10 */]
00000F7E 508F addq.l A7, 8
00000F80 4E5E unlink A6
00000F82 4E75 rts
00000F84 4449 neg.w A1
00000F86 5350 subq.w [A0], 1
00000F88 4C41 5943 movem.l A6,A4,A3,A0,D6,D1,D0, D1
fn00000F8C:
00000F8C 3F3C 000D move.w -[A7], 0xD /* '\r' */
00000F90 4EBA FFDC jsr [PC - 0x24 /* 00000F6E */]
00000F94 548F addq.l A7, 2
00000F96 4E75 rts
00000F98 4E56 0000 link A6, 0
00000F9C 4A2E 0009 tst.b [A6 + 0x9]
00000FA0 6708 beq +0xA /* 00000FAA */
00000FA2 41ED 9BAC lea.l A0, [A5 - 0x6454]
00000FA6 2008 move.l D0, A0
00000FA8 6006 bra +0x8 /* 00000FB0 */
label00000FAA:
00000FAA 41ED 9BB2 lea.l A0, [A5 - 0x644E]
00000FAE 2008 move.l D0, A0
label00000FB0:
00000FB0 2F00 move.l -[A7], D0
00000FB2 4EBA FF50 jsr [PC - 0xB0 /* 00000F04 */]
00000FB6 588F addq.l A7, 4
00000FB8 4E5E unlink A6
00000FBA 4E75 rts
00000FBC 4449 neg.w A1
00000FBE 5350 subq.w [A0], 1
00000FC0 4C41 5942 movem.l A6,A4,A3,A0,D6,D1, D1
fn00000FC4:
00000FC4 4E56 0000 link A6, 0
00000FC8 0C6E 000A 0008 cmpi.w [A6 + 0x8], 0xA /* '\n' */
00000FCE 6D04 blt +0x6 /* 00000FD4 */
00000FD0 7057 moveq.l D0, 0x57
00000FD2 6002 bra +0x4 /* 00000FD6 */
label00000FD4:
00000FD4 7030 moveq.l D0, 0x30
label00000FD6:
00000FD6 D06E 0008 add.w D0, [A6 + 0x8]
00000FDA 4880 ext.w D0
00000FDC 3F00 move.w -[A7], D0
00000FDE 4EBA FF8E jsr [PC - 0x72 /* 00000F6E */]
00000FE2 548F addq.l A7, 2
00000FE4 4E5E unlink A6
00000FE6 4E75 rts
00000FE8 4845 swap.w D5
00000FEA 5842 addq.w D2, 4
00000FEC 5954 subq.w [A4], 4
00000FEE 4520 .invalid 2, -[A0] // invalid opcode 4 with b == 4
fn00000FF0:
00000FF0 4E56 0000 link A6, 0
00000FF4 102E 0009 move.b D0, [A6 + 0x9]
00000FF8 4880 ext.w D0
00000FFA E840 asr D0.w, 4
00000FFC 0240 000F andi.w D0, 0xF
00001000 3F00 move.w -[A7], D0
00001002 4EBA FFC0 jsr [PC - 0x40 /* 00000FC4 */]
00001006 548F addq.l A7, 2
00001008 102E 0009 move.b D0, [A6 + 0x9]
0000100C 4880 ext.w D0
0000100E 0240 000F andi.w D0, 0xF
00001012 3F00 move.w -[A7], D0
00001014 4EBA FFAE jsr [PC - 0x52 /* 00000FC4 */]
00001018 548F addq.l A7, 2
0000101A 4E5E unlink A6
0000101C 4E75 rts
0000101E 4449 neg.w A1
00001020 5350 subq.w [A0], 1
00001022 4C41 5948 movem.l A6,A4,A3,A0,D6,D3, D1
fn00001026:
00001026 4E56 0000 link A6, 0
0000102A 302E 0008 move.w D0, [A6 + 0x8]
0000102E E040 asr D0.w, 8
00001030 0240 00FF andi.w D0, 0xFF
00001034 4880 ext.w D0
00001036 3F00 move.w -[A7], D0
00001038 4EBA FFB6 jsr [PC - 0x4A /* 00000FF0 */]
0000103C 548F addq.l A7, 2
0000103E 303C 00FF move.w D0, 0xFF
00001042 C06E 0008 and.w D0, [A6 + 0x8]
00001046 4880 ext.w D0
00001048 3F00 move.w -[A7], D0
0000104A 4EBA FFA4 jsr [PC - 0x5C /* 00000FF0 */]
0000104E 548F addq.l A7, 2
00001050 4E5E unlink A6
00001052 4E75 rts
00001054 4449 neg.w A1
00001056 5350 subq.w [A0], 1
00001058 4C41 5948 movem.l A6,A4,A3,A0,D6,D3, D1
0000105C 4E56 0000 link A6, 0
00001060 202E 0008 move.l D0, [A6 + 0x8]
00001064 7210 moveq.l D1, 0x10
00001066 E2A0 asr D0, D1
00001068 0240 FFFF andi.w D0, 0xFFFF
0000106C 3F00 move.w -[A7], D0
0000106E 4EBA FFB6 jsr [PC - 0x4A /* 00001026 */]
00001072 548F addq.l A7, 2
00001074 303C FFFF move.w D0, 0xFFFF
00001078 C06E 000A and.w D0, [A6 + 0xA]
0000107C 3F00 move.w -[A7], D0
0000107E 4EBA FFA6 jsr [PC - 0x5A /* 00001026 */]
00001082 548F addq.l A7, 2
00001084 4E5E unlink A6
00001086 4E75 rts
00001088 4449 neg.w A1
0000108A 5350 subq.w [A0], 1
0000108C 4C41 5948 movem.l A6,A4,A3,A0,D6,D3, D1
fn00001090:
00001090 4E56 0000 link A6, 0
00001094 2F0C move.l -[A7], A4
00001096 202E 0008 move.l D0, [A6 + 0x8]
0000109A B0AD 9BEC cmp.l D0, [A5 - 0x6414]
0000109E 6606 bne +0x8 /* 000010A6 */
000010A0 202D 9BF0 move.l D0, [A5 - 0x6410]
000010A4 602C bra +0x2E /* 000010D2 */
label000010A6:
000010A6 286D 9BB8 movea.l A4, [A5 - 0x6448]
000010AA 601E bra +0x20 /* 000010CA */
label000010AC:
000010AC 2054 movea.l A0, [A4]
000010AE 2010 move.l D0, [A0]
000010B0 B0AE 0008 cmp.l D0, [A6 + 0x8]
000010B4 660E bne +0x10 /* 000010C4 */
000010B6 2B6E 0008 9BEC move.l [A5 - 0x6414], [A6 + 0x8]
000010BC 2B4C 9BF0 move.l [A5 - 0x6410], A4
000010C0 200C move.l D0, A4
000010C2 600E bra +0x10 /* 000010D2 */
label000010C4:
000010C4 2054 movea.l A0, [A4]
000010C6 2868 002E movea.l A4, [A0 + 0x2E]
label000010CA:
000010CA B8FC 0000 cmpa.w A4, 0x0
000010CE 66DC bne -0x22 /* 000010AC */
000010D0 7000 moveq.l D0, 0x00
label000010D2:
000010D2 285F movea.l A4, [A7]+
000010D4 4E5E unlink A6
000010D6 4E75 rts
000010D8 4745 chk.w D3, D5
000010DA 5457 addq.w [A7], 2
000010DC 4448 neg.w A0
000010DE 414E chk.w D0, A6
fn000010E0:
000010E0 4E56 0000 link A6, 0
000010E4 2F0C move.l -[A7], A4
000010E6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000010EA 4EBA FFA4 jsr [PC - 0x5C /* 00001090 */]
000010EE 588F addq.l A7, 4
000010F0 2840 movea.l A4, D0
000010F2 4A80 tst.l D0
000010F4 6710 beq +0x12 /* 00001106 */
000010F6 206E 0008 movea.l A0, [A6 + 0x8]
000010FA 0C68 0002 006C cmpi.w [A0 + 0x6C], 0x2
00001100 6704 beq +0x6 /* 00001106 */
00001102 200C move.l D0, A4
00001104 6002 bra +0x4 /* 00001108 */
label00001106:
00001106 7000 moveq.l D0, 0x00
label00001108:
00001108 285F movea.l A4, [A7]+
0000110A 4E5E unlink A6
0000110C 4E75 rts
0000110E 4745 chk.w D3, D5
00001110 5457 addq.w [A7], 2
00001112 4841 swap.w D1
00001114 4E44 trap 4
fn00001116:
00001116 4E56 0000 link A6, 0
0000111A 2F0C move.l -[A7], A4
0000111C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001120 4EBA FF6E jsr [PC - 0x92 /* 00001090 */]
00001124 588F addq.l A7, 4
00001126 2840 movea.l A4, D0
00001128 4A80 tst.l D0
0000112A 6710 beq +0x12 /* 0000113C */
0000112C 206E 0008 movea.l A0, [A6 + 0x8]
00001130 0C68 0002 006C cmpi.w [A0 + 0x6C], 0x2
00001136 6604 bne +0x6 /* 0000113C */
00001138 200C move.l D0, A4
0000113A 6002 bra +0x4 /* 0000113E */
label0000113C:
0000113C 7000 moveq.l D0, 0x00
label0000113E:
0000113E 285F movea.l A4, [A7]+
00001140 4E5E unlink A6
00001142 4E75 rts
00001144 4745 chk.w D3, D5
00001146 5444 addq.w D4, 2
00001148 4841 swap.w D1
0000114A 4E44 trap 4
fn0000114C:
0000114C 4E56 0000 link A6, 0
00001150 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00001154 4267 clr.w -[A7]
00001156 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000115A A86A trap HiWord
0000115C 301F move.w D0, [A7]+
0000115E 3E00 move.w D7, D0
00001160 4267 clr.w -[A7]
00001162 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001166 A86B trap LoWord
00001168 301F move.w D0, [A7]+
0000116A 3C00 move.w D6, D0
0000116C 286D 9BC6 movea.l A4, [A5 - 0x643A]
00001170 6020 bra +0x22 /* 00001192 */
label00001172:
00001172 2054 movea.l A0, [A4]
00001174 BE50 cmp.w D7, [A0]
00001176 6614 bne +0x16 /* 0000118C */
00001178 2054 movea.l A0, [A4]
0000117A 2668 0002 movea.l A3, [A0 + 0x2]
0000117E B6FC 0000 cmpa.w A3, 0x0
00001182 6708 beq +0xA /* 0000118C */
00001184 3F06 move.w -[A7], D6
00001186 4E93 jsr [A3]
00001188 548F addq.l A7, 2
0000118A 600C bra +0xE /* 00001198 */
label0000118C:
0000118C 2054 movea.l A0, [A4]
0000118E 2868 000A movea.l A4, [A0 + 0xA]
label00001192:
00001192 B8FC 0000 cmpa.w A4, 0x0
00001196 66DA bne -0x24 /* 00001172 */
label00001198:
00001198 4267 clr.w -[A7]
0000119A A938 trap HiliteMenu
0000119C 4CDF 18C0 movem.l A4,A3,D7,D6, [A7]+
000011A0 4E5E unlink A6
000011A2 4E75 rts
000011A4 444F neg.w A7
000011A6 4D45 chk.w D6, D5
000011A8 4E55 434F link A5, -0xFFFFBCB1
export_23:
000011AC 4E56 FEF8 link A6, -0x0108
000011B0 4A2D 9BD6 tst.b [A5 - 0x642A]
000011B4 6718 beq +0x1A /* 000011CE */
000011B6 0C6E 0001 0008 cmpi.w [A6 + 0x8], 0x1
000011BC 6610 bne +0x12 /* 000011CE */
000011BE 4AAD 9BD2 tst.l [A5 - 0x642E]
000011C2 6700 0068 beq +0x6A /* 0000122C */
000011C6 206D 9BD2 movea.l A0, [A5 - 0x642E]
000011CA 4E90 jsr [A0]
000011CC 605E bra +0x60 /* 0000122C */
label000011CE:
000011CE 486E FFFC pea.l [A6 - 0x4]
000011D2 A874 trap GetPort
000011D4 2F2D 9BCC move.l -[A7], [A5 - 0x6434]
000011D8 3F2E 0008 move.w -[A7], [A6 + 0x8]
000011DC 486E FEFC pea.l [A6 - 0x104]
000011E0 A946 trap GetMenuItemText/GetItem
000011E2 4267 clr.w -[A7]
000011E4 A99B trap SetResLoad
000011E6 42A7 clr.l -[A7]
000011E8 4879 4452 5652 pea.l [0x44525652]
000011EE 486E FEFC pea.l [A6 - 0x104]
000011F2 A9A1 trap GetNamedResource
000011F4 205F movea.l A0, [A7]+
000011F6 2D48 FEF8 move.l [A6 - 0x108], A0
000011FA 1F3C 0001 move.b -[A7], 0x1
000011FE A99B trap SetResLoad
00001200 4AAE FEF8 tst.l [A6 - 0x108]
00001204 6720 beq +0x22 /* 00001226 */
00001206 42A7 clr.l -[A7]
00001208 2F2E FEF8 move.l -[A7], [A6 - 0x108]
0000120C A9A5 trap SizeRsrc
0000120E 201F move.l D0, [A7]+
00001210 0680 0000 1000 addi.l D0, 0x1000
00001216 2F00 move.l -[A7], D0
00001218 4EAD 01C2 jsr [A5 + 0x1C2]
0000121C 4267 clr.w -[A7]
0000121E 486E FEFC pea.l [A6 - 0x104]
00001222 A9B6 trap OpenDeskAcc
00001224 301F move.w D0, [A7]+
label00001226:
00001226 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000122A A873 trap SetPort
label0000122C:
0000122C 4E5E unlink A6
0000122E 4E75 rts
00001230 444F neg.w A7
00001232 4150 chk.w D0, [A0]
00001234 504C addq.w A4, 8
00001236 4549 chk.w D2, A1
export_22:
00001238 2F2D 9BCC move.l -[A7], [A5 - 0x6434]
0000123C A932 trap DisposeMenu
0000123E 4E75 rts
fn00001240:
00001240 4E56 FFFC link A6, -0x0004
00001244 2F0C move.l -[A7], A4
00001246 4AAE 0008 tst.l [A6 + 0x8]
0000124A 673A beq +0x3C /* 00001286 */
0000124C 206E 0008 movea.l A0, [A6 + 0x8]
00001250 2050 movea.l A0, [A0]
00001252 2868 0008 movea.l A4, [A0 + 0x8]
00001256 B8FC 0000 cmpa.w A4, 0x0
0000125A 672A beq +0x2C /* 00001286 */
0000125C 206E 000C movea.l A0, [A6 + 0xC]
00001260 2D68 000A FFFC move.l [A6 - 0x4], [A0 + 0xA]
00001266 486E FFFC pea.l [A6 - 0x4]
0000126A A871 trap GlobalToLocal
0000126C 206E 000C movea.l A0, [A6 + 0xC]
00001270 3F28 000E move.w -[A7], [A0 + 0xE]
00001274 206E 000C movea.l A0, [A6 + 0xC]
00001278 2F28 0006 move.l -[A7], [A0 + 0x6]
0000127C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001280 4E94 jsr [A4]
00001282 4FEF 000A lea.l A7, [A7 + 0xA]
label00001286:
00001286 285F movea.l A4, [A7]+
00001288 4E5E unlink A6
0000128A 4E75 rts
0000128C 444F neg.w A7
0000128E 4D4F chk.w D6, A7
00001290 5553 subq.w [A3], 2
00001292 4520 .invalid 2, -[A0] // invalid opcode 4 with b == 4
fn00001294:
00001294 4E56 0000 link A6, 0
00001298 2F0C move.l -[A7], A4
0000129A 4AAE 0008 tst.l [A6 + 0x8]
0000129E 6720 beq +0x22 /* 000012C0 */
000012A0 206E 0008 movea.l A0, [A6 + 0x8]
000012A4 2050 movea.l A0, [A0]
000012A6 2868 000C movea.l A4, [A0 + 0xC]
000012AA B8FC 0000 cmpa.w A4, 0x0
000012AE 6710 beq +0x12 /* 000012C0 */
000012B0 3F2E 000E move.w -[A7], [A6 + 0xE]
000012B4 102E 000D move.b D0, [A6 + 0xD]
000012B8 4880 ext.w D0
000012BA 3F00 move.w -[A7], D0
000012BC 4E94 jsr [A4]
000012BE 588F addq.l A7, 4
label000012C0:
000012C0 285F movea.l A4, [A7]+
000012C2 4E5E unlink A6
000012C4 4E75 rts
000012C6 444F neg.w A7
000012C8 4B45 chk.w D5, D5
000012CA 5920 subq.b -[A0], 4
000012CC 2020 move.l D0, -[A0]
fn000012CE:
000012CE 4E56 FFFC link A6, -0x0004
000012D2 48E7 0038 movem.l -[A7], A2,A3,A4
000012D6 286E 0008 movea.l A4, [A6 + 0x8]
000012DA B8FC 0000 cmpa.w A4, 0x0
000012DE 673C beq +0x3E /* 0000131C */
000012E0 486E FFFC pea.l [A6 - 0x4]
000012E4 A874 trap GetPort
000012E6 2054 movea.l A0, [A4]
000012E8 2450 movea.l A2, [A0]
000012EA 2F0A move.l -[A7], A2
000012EC A873 trap SetPort
000012EE 2F0A move.l -[A7], A2
000012F0 A922 trap BeginUpdate
000012F2 2054 movea.l A0, [A4]
000012F4 2668 0010 movea.l A3, [A0 + 0x10]
000012F8 B6FC 0000 cmpa.w A3, 0x0
000012FC 6714 beq +0x16 /* 00001312 */
000012FE 2054 movea.l A0, [A4]
00001300 1028 002C move.b D0, [A0 + 0x2C]
00001304 4880 ext.w D0
00001306 3F00 move.w -[A7], D0
00001308 4E93 jsr [A3]
0000130A 548F addq.l A7, 2
0000130C 2054 movea.l A0, [A4]
0000130E 4228 002C clr.b [A0 + 0x2C]
label00001312:
00001312 2F0A move.l -[A7], A2
00001314 A923 trap EndUpdate
00001316 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000131A A873 trap SetPort
label0000131C:
0000131C 4CDF 1C00 movem.l A4,A3,A2, [A7]+
00001320 4E5E unlink A6
00001322 4E75 rts
00001324 444F neg.w A7
00001326 5550 subq.w [A0], 2
00001328 4441 neg.w D1
0000132A 5445 addq.w D5, 2
fn0000132C:
0000132C 4E56 0000 link A6, 0
00001330 2F0C move.l -[A7], A4
00001332 4AAE 0008 tst.l [A6 + 0x8]
00001336 6726 beq +0x28 /* 0000135E */
00001338 206E 0008 movea.l A0, [A6 + 0x8]
0000133C 2050 movea.l A0, [A0]
0000133E 2F10 move.l -[A7], [A0]
00001340 A873 trap SetPort
00001342 206E 0008 movea.l A0, [A6 + 0x8]
00001346 2050 movea.l A0, [A0]
00001348 2868 0014 movea.l A4, [A0 + 0x14]
0000134C B8FC 0000 cmpa.w A4, 0x0
00001350 670C beq +0xE /* 0000135E */
00001352 102E 000D move.b D0, [A6 + 0xD]
00001356 4880 ext.w D0
00001358 3F00 move.w -[A7], D0
0000135A 4E94 jsr [A4]
0000135C 548F addq.l A7, 2
label0000135E:
0000135E 285F movea.l A4, [A7]+
00001360 4E5E unlink A6
00001362 4E75 rts
00001364 444F neg.w A7
00001366 4143 chk.w D0, D3
00001368 5449 addq.w A1, 2
0000136A 5641 addq.w D1, 3
fn0000136C:
0000136C 4E56 0000 link A6, 0
00001370 48E7 0018 movem.l -[A7], A3,A4
00001374 286E 0008 movea.l A4, [A6 + 0x8]
00001378 B8FC 0000 cmpa.w A4, 0x0
0000137C 6716 beq +0x18 /* 00001394 */
0000137E 2054 movea.l A0, [A4]
00001380 2668 0018 movea.l A3, [A0 + 0x18]
00001384 B6FC 0000 cmpa.w A3, 0x0
00001388 6704 beq +0x6 /* 0000138E */
0000138A 4E93 jsr [A3]
0000138C 6006 bra +0x8 /* 00001394 */
label0000138E:
0000138E 2054 movea.l A0, [A4]
00001390 2F10 move.l -[A7], [A0]
00001392 A916 trap HideWindow
label00001394:
00001394 4CDF 1800 movem.l A4,A3, [A7]+
00001398 4E5E unlink A6
0000139A 4E75 rts
0000139C 444F neg.w A7
0000139E 434C chk.w D1, A4
000013A0 4F53 chk.w D7, [A3]
000013A2 4520 .invalid 2, -[A0] // invalid opcode 4 with b == 4
fn000013A4:
000013A4 4E56 FFFC link A6, -0x0004
000013A8 2F0C move.l -[A7], A4
000013AA 486E FFFC pea.l [A6 - 0x4]
000013AE A874 trap GetPort
000013B0 206E 0008 movea.l A0, [A6 + 0x8]
000013B4 2050 movea.l A0, [A0]
000013B6 2F10 move.l -[A7], [A0]
000013B8 A873 trap SetPort
000013BA 206E 0008 movea.l A0, [A6 + 0x8]
000013BE 2050 movea.l A0, [A0]
000013C0 2868 0004 movea.l A4, [A0 + 0x4]
000013C4 B8FC 0000 cmpa.w A4, 0x0
000013C8 6702 beq +0x4 /* 000013CC */
000013CA 4E94 jsr [A4]
label000013CC:
000013CC 2F2E FFFC move.l -[A7], [A6 - 0x4]
000013D0 A873 trap SetPort
000013D2 285F movea.l A4, [A7]+
000013D4 4E5E unlink A6
000013D6 4E75 rts
000013D8 444F neg.w A7
000013DA 434C chk.w D1, A4
000013DC 4F42 chk.w D7, D2
000013DE 4245 clr.w D5
fn000013E0:
000013E0 4E56 FFF2 link A6, -0x000E
000013E4 48E7 0118 movem.l -[A7], D7,A3,A4
000013E8 286E 0008 movea.l A4, [A6 + 0x8]
000013EC 3E14 move.w D7, [A4]
000013EE 0C47 0003 cmpi.w D7, 0x3
000013F2 6706 beq +0x8 /* 000013FA */
000013F4 0C47 0005 cmpi.w D7, 0x5
000013F8 6628 bne +0x2A /* 00001422 */
label000013FA:
000013FA 082C 0000 000E btst.b [A4 + 0xE], 0x0
00001400 6720 beq +0x22 /* 00001422 */
00001402 203C 0000 00FF move.l D0, 0xFF
00001408 C0AC 0002 and.l D0, [A4 + 0x2]
0000140C 42A7 clr.l -[A7]
0000140E 3F00 move.w -[A7], D0
00001410 A93E trap MenuKey
00001412 201F move.l D0, [A7]+
00001414 2F00 move.l -[A7], D0
00001416 4EBA FD34 jsr [PC - 0x2CC /* 0000114C */]
0000141A 588F addq.l A7, 4
0000141C 7001 moveq.l D0, 0x01
0000141E 6000 0086 bra +0x88 /* 000014A6 */
label00001422:
00001422 7001 moveq.l D0, 0x01
00001424 EF68 lsl D0.w, D7
00001426 C06D 9BF4 and.w D0, [A5 - 0x640C]
0000142A 4A40 tst.w D0
0000142C 6700 0076 beq +0x78 /* 000014A4 */
00001430 4267 clr.w -[A7]
00001432 2F0C move.l -[A7], A4
00001434 A97F trap IsDialogEvent
00001436 101F move.b D0, [A7]+
00001438 4A00 tst.b D0
0000143A 6700 0068 beq +0x6A /* 000014A4 */
0000143E 0C54 0008 cmpi.w [A4], 0x8
00001442 6620 bne +0x22 /* 00001464 */
00001444 082C 0000 000F btst.b [A4 + 0xF], 0x0
0000144A 6718 beq +0x1A /* 00001464 */
0000144C 202C 0002 move.l D0, [A4 + 0x2]
00001450 2D40 FFF2 move.l [A6 - 0xE], D0
00001454 2040 movea.l A0, D0
00001456 0C68 0002 006C cmpi.w [A0 + 0x6C], 0x2
0000145C 6606 bne +0x8 /* 00001464 */
0000145E 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00001462 A873 trap SetPort
label00001464:
00001464 4267 clr.w -[A7]
00001466 2F0C move.l -[A7], A4
00001468 486E FFFC pea.l [A6 - 0x4]
0000146C 486E FFFA pea.l [A6 - 0x6]
00001470 A980 trap DialogSelect
00001472 101F move.b D0, [A7]+
00001474 4A00 tst.b D0
00001476 6728 beq +0x2A /* 000014A0 */
00001478 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000147C 4EBA FC98 jsr [PC - 0x368 /* 00001116 */]
00001480 588F addq.l A7, 4
00001482 2640 movea.l A3, D0
00001484 4A80 tst.l D0
00001486 6718 beq +0x1A /* 000014A0 */
00001488 2053 movea.l A0, [A3]
0000148A 4AA8 0020 tst.l [A0 + 0x20]
0000148E 6710 beq +0x12 /* 000014A0 */
00001490 2053 movea.l A0, [A3]
00001492 2F0C move.l -[A7], A4
00001494 3F2E FFFA move.w -[A7], [A6 - 0x6]
00001498 2068 0020 movea.l A0, [A0 + 0x20]
0000149C 4E90 jsr [A0]
0000149E 5C8F addq.l A7, 6
label000014A0:
000014A0 7001 moveq.l D0, 0x01
000014A2 6002 bra +0x4 /* 000014A6 */
label000014A4:
000014A4 7000 moveq.l D0, 0x00
label000014A6:
000014A6 4CDF 1880 movem.l A4,A3,D7, [A7]+
000014AA 4E5E unlink A6
000014AC 4E75 rts
000014AE 444F neg.w A7
000014B0 4449 neg.w A1
000014B2 414C chk.w D0, A4
000014B4 4F47 chk.w D7, D7
fn000014B6:
000014B6 4E56 0000 link A6, 0
000014BA 206E 000C movea.l A0, [A6 + 0xC]
000014BE 4868 0010 pea.l [A0 + 0x10]
000014C2 A928 trap InvalRect
000014C4 4AAE 0008 tst.l [A6 + 0x8]
000014C8 670C beq +0xE /* 000014D6 */
000014CA 206E 0008 movea.l A0, [A6 + 0x8]
000014CE 2050 movea.l A0, [A0]
000014D0 7001 moveq.l D0, 0x01
000014D2 1140 002C move.b [A0 + 0x2C], D0
label000014D6:
000014D6 4E5E unlink A6
000014D8 4E75 rts
000014DA 5452 addq.w [A2], 2
000014DC 4947 chk.w D4, D7
000014DE 4745 chk.w D3, D5
000014E0 5255 addq.w [A5], 1
fn000014E2:
000014E2 4E56 FFF6 link A6, -0x000A
000014E6 2F07 move.l -[A7], D7
000014E8 4AAE 0008 tst.l [A6 + 0x8]
000014EC 6714 beq +0x16 /* 00001502 */
000014EE 206E 0008 movea.l A0, [A6 + 0x8]
000014F2 2050 movea.l A0, [A0]
000014F4 43EE FFF8 lea.l A1, [A6 - 0x8]
000014F8 41E8 0024 lea.l A0, [A0 + 0x24]
000014FC 22D8 move.l [A1]+, [A0]+
000014FE 22D8 move.l [A1]+, [A0]+
00001500 600C bra +0xE /* 0000150E */
label00001502:
00001502 41EE FFF8 lea.l A0, [A6 - 0x8]
00001506 43ED 9BBE lea.l A1, [A5 - 0x6442]
0000150A 20D9 move.l [A0]+, [A1]+
0000150C 20D9 move.l [A0]+, [A1]+
label0000150E:
0000150E 42A7 clr.l -[A7]
00001510 2F2E 000C move.l -[A7], [A6 + 0xC]
00001514 2F2E 0010 move.l -[A7], [A6 + 0x10]
00001518 486E FFF8 pea.l [A6 - 0x8]
0000151C A92B trap GrowWindow
0000151E 201F move.l D0, [A7]+
00001520 2E00 move.l D7, D0
00001522 4A80 tst.l D0
00001524 6730 beq +0x32 /* 00001556 */
00001526 4267 clr.w -[A7]
00001528 2F07 move.l -[A7], D7
0000152A A86B trap LoWord
0000152C 301F move.w D0, [A7]+
0000152E 4267 clr.w -[A7]
00001530 2F07 move.l -[A7], D7
00001532 3D40 FFF6 move.w [A6 - 0xA], D0
00001536 A86A trap HiWord
00001538 301F move.w D0, [A7]+
0000153A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000153E 3F2E FFF6 move.w -[A7], [A6 - 0xA]
00001542 3F00 move.w -[A7], D0
00001544 4267 clr.w -[A7]
00001546 A91D trap SizeWindow
00001548 2F2E 000C move.l -[A7], [A6 + 0xC]
0000154C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001550 4EBA FF64 jsr [PC - 0x9C /* 000014B6 */]
00001554 508F addq.l A7, 8
label00001556:
00001556 2E1F move.l D7, [A7]+
00001558 4E5E unlink A6
0000155A 4E75 rts
0000155C 444F neg.w A7
0000155E 4752 chk.w D3, [A2]
00001560 4F57 chk.w D7, [A7]
00001562 2020 move.l D0, -[A0]
fn00001564:
00001564 4E56 0000 link A6, 0
00001568 2F0C move.l -[A7], A4
0000156A 286E 0008 movea.l A4, [A6 + 0x8]
0000156E 2F2E 000C move.l -[A7], [A6 + 0xC]
00001572 3F2E 0010 move.w -[A7], [A6 + 0x10]
00001576 4267 clr.w -[A7]
00001578 A83A trap ZoomWindow
0000157A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000157E 2F0C move.l -[A7], A4
00001580 4EBA FF34 jsr [PC - 0xCC /* 000014B6 */]
00001584 508F addq.l A7, 8
00001586 285F movea.l A4, [A7]+
00001588 4E5E unlink A6
0000158A 4E75 rts
0000158C 444F neg.w A7
0000158E 5A4F addq.w A7, 5
00001590 4F4D chk.w D7, A5
00001592 2020 move.l D0, -[A0]
fn00001594:
00001594 4E56 FFF0 link A6, -0x0010
00001598 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
0000159C 286E 0008 movea.l A4, [A6 + 0x8]
000015A0 2F0C move.l -[A7], A4
000015A2 4EBA FE3C jsr [PC - 0x1C4 /* 000013E0 */]
000015A6 588F addq.l A7, 4
000015A8 4A40 tst.w D0
000015AA 6600 01DA bne +0x1DC /* 00001786 */
000015AE 2D6C 000A FFFC move.l [A6 - 0x4], [A4 + 0xA]
000015B4 3A2C 000E move.w D5, [A4 + 0xE]
000015B8 282C 0002 move.l D4, [A4 + 0x2]
000015BC 3014 move.w D0, [A4]
000015BE 4EAD 003A jsr [A5 + 0x3A]
000015C2 0001 0008 ori.b D1, 0x8
000015C6 01C0 bset D0, D0
000015C8 0010 01BC ori.b [A0], 0xBC
000015CC 013C 01B8 btst 0xB8, D0
000015D0 0138 0160 btst [0x00000160 /* VBLQueue */], D0
000015D4 0190 bclr [A0], D0
000015D6 016E 4267 bchg [A6 + 0x4267], D0
000015DA 2F2E FFFC move.l -[A7], [A6 - 0x4]
000015DE 486E FFF8 pea.l [A6 - 0x8]
000015E2 A92C trap FindWindow
000015E4 301F move.w D0, [A7]+
000015E6 3E00 move.w D7, D0
000015E8 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000015EC 4EBA FAA2 jsr [PC - 0x55E /* 00001090 */]
000015F0 588F addq.l A7, 4
000015F2 2640 movea.l A3, D0
000015F4 3007 move.w D0, D7
000015F6 4EAD 003A jsr [A5 + 0x3A]
000015FA 0001 0008 ori.b D1, 0x8
000015FE 0188 bclr A0, D0
00001600 001C 000E ori.b [A4]+, 0xE
00001604 00E0 ori.? -[A0], 0xFFFFFFFFFFFFFFFF
00001606 0042 002A ori.w D2, 0x2A /* '*' */
0000160A 0090 00AE 00AC ori.l [A0], 0xAE00AC
00001610 2F0C move.l -[A7], A4
00001612 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00001616 A9B3 trap SystemClick
00001618 6000 016C bra +0x16E /* 00001786 */
0000161C 42A7 clr.l -[A7]
0000161E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001622 A93D trap MenuSelect
00001624 201F move.l D0, [A7]+
00001626 2F00 move.l -[A7], D0
00001628 4EBA FB22 jsr [PC - 0x4DE /* 0000114C */]
0000162C 588F addq.l A7, 4
0000162E 6000 0156 bra +0x158 /* 00001786 */
00001632 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001636 2F2E FFF8 move.l -[A7], [A6 - 0x8]
0000163A 2F0B move.l -[A7], A3
0000163C 4EBA FEA4 jsr [PC - 0x15C /* 000014E2 */]
00001640 4FEF 000C lea.l A7, [A7 + 0xC]
00001644 6000 0140 bra +0x142 /* 00001786 */
00001648 42A7 clr.l -[A7]
0000164A A924 trap FrontWindow
0000164C 205F movea.l A0, [A7]+
0000164E B1EE FFF8 cmpa.l A0, [A6 - 0x8]
00001652 6710 beq +0x12 /* 00001664 */
00001654 303C 0100 move.w D0, 0x100
00001658 C045 and.w D0, D5
0000165A 4A40 tst.w D0
0000165C 6606 bne +0x8 /* 00001664 */
0000165E 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00001662 A91F trap SelectWindow
label00001664:
00001664 206D 9BD8 movea.l A0, [A5 - 0x6428]
00001668 43EE FFF0 lea.l A1, [A6 - 0x10]
0000166C 41E8 0010 lea.l A0, [A0 + 0x10]
00001670 22D8 move.l [A1]+, [A0]+
00001672 22D8 move.l [A1]+, [A0]+
00001674 066E 0014 FFF0 addi.w [A6 - 0x10], 0x14
0000167A 486E FFF0 pea.l [A6 - 0x10]
0000167E 3F3C 0004 move.w -[A7], 0x4
00001682 3F3C 0004 move.w -[A7], 0x4
00001686 A8A9 trap InsetRect
00001688 2F2E FFF8 move.l -[A7], [A6 - 0x8]
0000168C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001690 486E FFF0 pea.l [A6 - 0x10]
00001694 A925 trap DragWindow
00001696 6000 00EE bra +0xF0 /* 00001786 */
0000169A 4267 clr.w -[A7]
0000169C 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000016A0 2F2E FFFC move.l -[A7], [A6 - 0x4]
000016A4 A91E trap TrackGoAway
000016A6 101F move.b D0, [A7]+
000016A8 4A00 tst.b D0
000016AA 6700 00DA beq +0xDC /* 00001786 */
000016AE 2F0B move.l -[A7], A3
000016B0 4EBA FCBA jsr [PC - 0x346 /* 0000136C */]
000016B4 588F addq.l A7, 4
000016B6 6000 00CE bra +0xD0 /* 00001786 */
000016BA 4267 clr.w -[A7]
000016BC 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000016C0 2F2E FFFC move.l -[A7], [A6 - 0x4]
000016C4 3F07 move.w -[A7], D7
000016C6 A83B trap TrackBox
000016C8 101F move.b D0, [A7]+
000016CA 4A00 tst.b D0
000016CC 6700 00B8 beq +0xBA /* 00001786 */
000016D0 3F07 move.w -[A7], D7
000016D2 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000016D6 2F0B move.l -[A7], A3
000016D8 4EBA FE8A jsr [PC - 0x176 /* 00001564 */]
000016DC 4FEF 000A lea.l A7, [A7 + 0xA]
000016E0 6000 00A4 bra +0xA6 /* 00001786 */
000016E4 42A7 clr.l -[A7]
000016E6 A924 trap FrontWindow
000016E8 205F movea.l A0, [A7]+
000016EA B1EE FFF8 cmpa.l A0, [A6 - 0x8]
000016EE 670A beq +0xC /* 000016FA */
000016F0 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000016F4 A91F trap SelectWindow
000016F6 6000 008E bra +0x90 /* 00001786 */
label000016FA:
000016FA 2F0C move.l -[A7], A4
000016FC 2F0B move.l -[A7], A3
000016FE 4EBA FB40 jsr [PC - 0x4C0 /* 00001240 */]
00001702 508F addq.l A7, 8
00001704 6000 0080 bra +0x82 /* 00001786 */
00001708 203C 0000 00FF move.l D0, 0xFF
0000170E C084 and.l D0, D4
00001710 1C00 move.b D6, D0
00001712 42A7 clr.l -[A7]
00001714 A924 trap FrontWindow
00001716 205F movea.l A0, [A7]+
00001718 4850 pea.l [A0]
0000171A 4EBA F9C4 jsr [PC - 0x63C /* 000010E0 */]
0000171E 588F addq.l A7, 4
00001720 3F05 move.w -[A7], D5
00001722 1206 move.b D1, D6
00001724 4881 ext.w D1
00001726 3F01 move.w -[A7], D1
00001728 2F00 move.l -[A7], D0
0000172A 4EBA FB68 jsr [PC - 0x498 /* 00001294 */]
0000172E 508F addq.l A7, 8
00001730 6054 bra +0x56 /* 00001786 */
00001732 2F04 move.l -[A7], D4
00001734 4EBA F9AA jsr [PC - 0x656 /* 000010E0 */]
00001738 588F addq.l A7, 4
0000173A 2F00 move.l -[A7], D0
0000173C 4EBA FB90 jsr [PC - 0x470 /* 000012CE */]
00001740 588F addq.l A7, 4
00001742 6042 bra +0x44 /* 00001786 */
00001744 2F04 move.l -[A7], D4
00001746 4EBA F998 jsr [PC - 0x668 /* 000010E0 */]
0000174A 588F addq.l A7, 4
0000174C 7201 moveq.l D1, 0x01
0000174E C245 and.w D1, D5
00001750 4A41 tst.w D1
00001752 56C1 sne D1
00001754 4401 neg.b D1
00001756 4881 ext.w D1
00001758 3F01 move.w -[A7], D1
0000175A 2F00 move.l -[A7], D0
0000175C 4EBA FBCE jsr [PC - 0x432 /* 0000132C */]
00001760 5C8F addq.l A7, 6
00001762 6022 bra +0x24 /* 00001786 */
00001764 4267 clr.w -[A7]
00001766 2F04 move.l -[A7], D4
00001768 A86A trap HiWord
0000176A 301F move.w D0, [A7]+
0000176C 4A40 tst.w D0
0000176E 6716 beq +0x18 /* 00001786 */
00001770 4EAD 029A jsr [A5 + 0x29A]
00001774 4267 clr.w -[A7]
00001776 2F2D 9BE8 move.l -[A7], [A5 - 0x6418]
0000177A 2F04 move.l -[A7], D4
0000177C 4EAD 02A2 jsr [A5 + 0x2A2]
00001780 301F move.w D0, [A7]+
00001782 4EAD 0292 jsr [A5 + 0x292]
label00001786:
00001786 4CDF 18F0 movem.l A4,A3,D7,D6,D5,D4, [A7]+
0000178A 4E5E unlink A6
0000178C 4E75 rts
0000178E 444F neg.w A7
00001790 4556 chk.w D2, [A6]
00001792 454E chk.w D2, A6
00001794 5420 addq.b -[A0], 2
fn00001796:
00001796 4E56 0000 link A6, 0
0000179A 6004 bra +0x6 /* 000017A0 */
label0000179C:
0000179C 4EAD 020A jsr [A5 + 0x20A]
label000017A0:
000017A0 302E 0008 move.w D0, [A6 + 0x8]
000017A4 536E 0008 subq.w [A6 + 0x8], 1
000017A8 4A40 tst.w D0
000017AA 6EF0 bgt -0xE /* 0000179C */
000017AC 4AAE 000A tst.l [A6 + 0xA]
000017B0 6708 beq +0xA /* 000017BA */
000017B2 2F2E 000A move.l -[A7], [A6 + 0xA]
000017B6 4EAD 01CA jsr [A5 + 0x1CA]
label000017BA:
000017BA 4EAD 01D2 jsr [A5 + 0x1D2]
000017BE 3F3C FF7F move.w -[A7], 0xFF7F
000017C2 4267 clr.w -[A7]
000017C4 4EAD 01BA jsr [A5 + 0x1BA]
000017C8 486D 9CCC pea.l [A5 - 0x6334]
000017CC A86E trap InitGraf
000017CE A8FE trap InitFonts
000017D0 A912 trap InitWindows
000017D2 A930 trap InitMenus
000017D4 A9CC trap TEInit
000017D6 42A7 clr.l -[A7]
000017D8 A97B trap InitDialogs
000017DA A850 trap InitCursor
000017DC 486D 9BD8 pea.l [A5 - 0x6428]
000017E0 A910 trap GetWMgrPort
000017E2 206D 9BD8 movea.l A0, [A5 - 0x6428]
000017E6 3B68 0016 9BC4 move.w [A5 - 0x643C], [A0 + 0x16]
000017EC 206D 9BD8 movea.l A0, [A5 - 0x6428]
000017F0 3028 0014 move.w D0, [A0 + 0x14]
000017F4 0640 FFEC addi.w D0, 0xFFEC
000017F8 3B40 9BC2 move.w [A5 - 0x643E], D0
000017FC 4E5E unlink A6
000017FE 4E75 rts
00001800 534B subq.w A3, 1
00001802 454C chk.w D2, A4
00001804 494E chk.w D4, A6
00001806 4954 chk.w D4, [A4]
fn00001808:
00001808 4E56 FFE6 link A6, -0x001A
0000180C 48E7 0038 movem.l -[A7], A2,A3,A4
00001810 6000 00A6 bra +0xA8 /* 000018B8 */
label00001814:
00001814 A9B4 trap SystemTask
00001816 4AAD 9BDE tst.l [A5 - 0x6422]
0000181A 6706 beq +0x8 /* 00001822 */
0000181C 206D 9BDE movea.l A0, [A5 - 0x6422]
00001820 4E90 jsr [A0]
label00001822:
00001822 4267 clr.w -[A7]
00001824 3F2D 9BE6 move.w -[A7], [A5 - 0x641A]
00001828 486E FFF0 pea.l [A6 - 0x10]
0000182C A970 trap GetNextEvent
0000182E 101F move.b D0, [A7]+
00001830 1D40 FFEF move.b [A6 - 0x11], D0
00001834 4A2E FFEF tst.b [A6 - 0x11]
00001838 6716 beq +0x18 /* 00001850 */
0000183A 4AAD 9BE2 tst.l [A5 - 0x641E]
0000183E 6716 beq +0x18 /* 00001856 */
00001840 486E FFF0 pea.l [A6 - 0x10]
00001844 206D 9BE2 movea.l A0, [A5 - 0x641E]
00001848 4E90 jsr [A0]
0000184A 588F addq.l A7, 4
0000184C 4A00 tst.b D0
0000184E 6706 beq +0x8 /* 00001856 */
label00001850:
00001850 4A6E FFF0 tst.w [A6 - 0x10]
00001854 660A bne +0xC /* 00001860 */
label00001856:
00001856 486E FFF0 pea.l [A6 - 0x10]
0000185A 4EBA FD38 jsr [PC - 0x2C8 /* 00001594 */]
0000185E 588F addq.l A7, 4
label00001860:
00001860 4A2E FFEF tst.b [A6 - 0x11]
00001864 6600 0052 bne +0x54 /* 000018B8 */
00001868 486E FFEA pea.l [A6 - 0x16]
0000186C A874 trap GetPort
0000186E 286D 9BB8 movea.l A4, [A5 - 0x6448]
00001872 6038 bra +0x3A /* 000018AC */
label00001874:
00001874 2054 movea.l A0, [A4]
00001876 2668 002E movea.l A3, [A0 + 0x2E]
0000187A 2054 movea.l A0, [A4]
0000187C 2450 movea.l A2, [A0]
0000187E 42A7 clr.l -[A7]
00001880 A924 trap FrontWindow
00001882 205F movea.l A0, [A7]+
00001884 B5C8 cmpa.l A2, A0
00001886 6708 beq +0xA /* 00001890 */
00001888 2054 movea.l A0, [A4]
0000188A 4A28 002D tst.b [A0 + 0x2D]
0000188E 661A bne +0x1C /* 000018AA */
label00001890:
00001890 A9B4 trap SystemTask
00001892 2054 movea.l A0, [A4]
00001894 2028 001C move.l D0, [A0 + 0x1C]
00001898 2D40 FFE6 move.l [A6 - 0x1A], D0
0000189C 4A80 tst.l D0
0000189E 670A beq +0xC /* 000018AA */
000018A0 2F0A move.l -[A7], A2
000018A2 A873 trap SetPort
000018A4 206E FFE6 movea.l A0, [A6 - 0x1A]
000018A8 4E90 jsr [A0]
label000018AA:
000018AA 284B movea.l A4, A3
label000018AC:
000018AC B8FC 0000 cmpa.w A4, 0x0
000018B0 66C2 bne -0x3C /* 00001874 */
000018B2 2F2E FFEA move.l -[A7], [A6 - 0x16]
000018B6 A873 trap SetPort
label000018B8:
000018B8 4A6D 9BDC tst.w [A5 - 0x6424]
000018BC 6700 FF56 beq -0xA8 /* 00001814 */
000018C0 426D 9BDC clr.w [A5 - 0x6424]
000018C4 4CDF 1C00 movem.l A4,A3,A2, [A7]+
000018C8 4E5E unlink A6
000018CA 4E75 rts
000018CC 534B subq.w A3, 1
000018CE 454C chk.w D2, A4
000018D0 4D41 chk.w D6, D1
000018D2 494E chk.w D4, A6
fn000018D4:
000018D4 7001 moveq.l D0, 0x01
000018D6 3B40 9BDC move.w [A5 - 0x6424], D0
000018DA 4E75 rts
fn000018DC:
000018DC 600E bra +0x10 /* 000018EC */
label000018DE:
000018DE 206D 9BB8 movea.l A0, [A5 - 0x6448]
000018E2 2050 movea.l A0, [A0]
000018E4 2F10 move.l -[A7], [A0]
000018E6 4EBA 024E jsr [PC + 0x24E /* 00001B36 */]
000018EA 588F addq.l A7, 4
label000018EC:
000018EC 4AAD 9BB8 tst.l [A5 - 0x6448]
000018F0 66EC bne -0x12 /* 000018DE */
000018F2 6016 bra +0x18 /* 0000190A */
label000018F4:
000018F4 206D 9BC6 movea.l A0, [A5 - 0x643A]
000018F8 42A7 clr.l -[A7]
000018FA 2050 movea.l A0, [A0]
000018FC 3F10 move.w -[A7], [A0]
000018FE A949 trap GetMenuHandle
00001900 205F movea.l A0, [A7]+
00001902 4850 pea.l [A0]
00001904 4EBA 0088 jsr [PC + 0x88 /* 0000198E */]
00001908 588F addq.l A7, 4
label0000190A:
0000190A 4AAD 9BC6 tst.l [A5 - 0x643A]
0000190E 66E4 bne -0x1A /* 000018F4 */
00001910 4E75 rts
fn00001912:
00001912 4E56 0000 link A6, 0
00001916 2F0C move.l -[A7], A4
00001918 422D 9BCA clr.b [A5 - 0x6436]
0000191C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001920 4EBA 006C jsr [PC + 0x6C /* 0000198E */]
00001924 588F addq.l A7, 4
00001926 7001 moveq.l D0, 0x01
00001928 1B40 9BCA move.b [A5 - 0x6436], D0
0000192C 42A7 clr.l -[A7]
0000192E 4878 000E pea.l [0x0000000E]
00001932 4EAD 01FA jsr [A5 + 0x1FA]
00001936 205F movea.l A0, [A7]+
00001938 2848 movea.l A4, A0
0000193A B0FC 0000 cmpa.w A0, 0x0
0000193E 672E beq +0x30 /* 0000196E */
00001940 2054 movea.l A0, [A4]
00001942 216D 9BC6 000A move.l [A0 + 0xA], [A5 - 0x643A]
00001948 2B4C 9BC6 move.l [A5 - 0x643A], A4
0000194C 206E 0008 movea.l A0, [A6 + 0x8]
00001950 2050 movea.l A0, [A0]
00001952 2254 movea.l A1, [A4]
00001954 3290 move.w [A1], [A0]
00001956 2054 movea.l A0, [A4]
00001958 216E 000C 0002 move.l [A0 + 0x2], [A6 + 0xC]
0000195E 2054 movea.l A0, [A4]
00001960 216E 0010 0006 move.l [A0 + 0x6], [A6 + 0x10]
00001966 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000196A 4267 clr.w -[A7]
0000196C A935 trap InsertMenu
label0000196E:
0000196E 4A2E 0015 tst.b [A6 + 0x15]
00001972 6702 beq +0x4 /* 00001976 */
00001974 A937 trap DrawMenuBar
label00001976:
00001976 B8FC 0000 cmpa.w A4, 0x0
0000197A 56C0 sne D0
0000197C 4400 neg.b D0
0000197E 4880 ext.w D0
00001980 285F movea.l A4, [A7]+
00001982 4E5E unlink A6
00001984 4E75 rts
00001986 534B subq.w A3, 1
00001988 454C chk.w D2, A4
0000198A 4D45 chk.w D6, D5
0000198C 4E55 4E56 link A5, -0xFFFFB1AA
// begin alternate branch 0000198E-0000199C
fn0000198E:
0000198E 4E56 0000 link A6, 0
00001992 48E7 0138 movem.l -[A7], D7,A2,A3,A4
00001996 206E 0008 movea.l A0, [A6 + 0x8]
0000199A 2050 movea.l A0, [A0]
// end alternate branch 0000198E-0000199C
fn0000198E: // (misaligned)
00001990 0000 48E7 ori.b D0, 0xE7
00001994 0138 206E btst [0x0000206E], D0
00001998 0008 2050 ori.b A0, 0x50 /* 'P' */
0000199C 3E10 move.w D7, [A0]
0000199E 4AAD 9BC6 tst.l [A5 - 0x643A]
000019A2 6700 0070 beq +0x72 /* 00001A14 */
000019A6 206D 9BC6 movea.l A0, [A5 - 0x643A]
000019AA 2050 movea.l A0, [A0]
000019AC BE50 cmp.w D7, [A0]
000019AE 6612 bne +0x14 /* 000019C2 */
000019B0 266D 9BC6 movea.l A3, [A5 - 0x643A]
000019B4 206D 9BC6 movea.l A0, [A5 - 0x643A]
000019B8 2050 movea.l A0, [A0]
000019BA 2B68 000A 9BC6 move.l [A5 - 0x643A], [A0 + 0xA]
000019C0 602C bra +0x2E /* 000019EE */
label000019C2:
000019C2 286D 9BC6 movea.l A4, [A5 - 0x643A]
000019C6 6020 bra +0x22 /* 000019E8 */
label000019C8:
000019C8 2054 movea.l A0, [A4]
000019CA 2668 000A movea.l A3, [A0 + 0xA]
000019CE B6FC 0000 cmpa.w A3, 0x0
000019D2 6740 beq +0x42 /* 00001A14 */
000019D4 2053 movea.l A0, [A3]
000019D6 BE50 cmp.w D7, [A0]
000019D8 660C bne +0xE /* 000019E6 */
000019DA 2053 movea.l A0, [A3]
000019DC 2254 movea.l A1, [A4]
000019DE 2368 000A 000A move.l [A1 + 0xA], [A0 + 0xA]
000019E4 6008 bra +0xA /* 000019EE */
label000019E6:
000019E6 284B movea.l A4, A3
label000019E8:
000019E8 B8FC 0000 cmpa.w A4, 0x0
000019EC 66DA bne -0x24 /* 000019C8 */
label000019EE:
000019EE 3F07 move.w -[A7], D7
000019F0 A936 trap DeleteMenu
000019F2 A937 trap DrawMenuBar
000019F4 4A2D 9BCA tst.b [A5 - 0x6436]
000019F8 6714 beq +0x16 /* 00001A0E */
000019FA 2053 movea.l A0, [A3]
000019FC 2468 0006 movea.l A2, [A0 + 0x6]
00001A00 B4FC 0000 cmpa.w A2, 0x0
00001A04 6708 beq +0xA /* 00001A0E */
00001A06 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001A0A 4E92 jsr [A2]
00001A0C 588F addq.l A7, 4
label00001A0E:
00001A0E 2F0B move.l -[A7], A3
00001A10 4EAD 0202 jsr [A5 + 0x202]
label00001A14:
00001A14 4CDF 1C80 movem.l A4,A3,A2,D7, [A7]+
00001A18 4E5E unlink A6
00001A1A 4E75 rts
00001A1C 534B subq.w A3, 1
00001A1E 454C chk.w D2, A4
00001A20 524D addq.w A5, 1
00001A22 5645 addq.w D5, 3
fn00001A24:
00001A24 4E56 0000 link A6, 0
00001A28 7001 moveq.l D0, 0x01
00001A2A 3B40 9BD0 move.w [A5 - 0x6430], D0
00001A2E 42A7 clr.l -[A7]
00001A30 3F2D 9BD0 move.w -[A7], [A5 - 0x6430]
00001A34 486D 9BF6 pea.l [A5 - 0x640A]
00001A38 A931 trap NewMenu
00001A3A 205F movea.l A0, [A7]+
00001A3C 2B48 9BCC move.l [A5 - 0x6434], A0
00001A40 4AAE 0008 tst.l [A6 + 0x8]
00001A44 6720 beq +0x22 /* 00001A66 */
00001A46 7001 moveq.l D0, 0x01
00001A48 1B40 9BD6 move.b [A5 - 0x642A], D0
00001A4C 2F2D 9BCC move.l -[A7], [A5 - 0x6434]
00001A50 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001A54 A933 trap AppendMenu
00001A56 2F2D 9BCC move.l -[A7], [A5 - 0x6434]
00001A5A 486D 9BF8 pea.l [A5 - 0x6408]
00001A5E A933 trap AppendMenu
00001A60 2B6E 000C 9BD2 move.l [A5 - 0x642E], [A6 + 0xC]
label00001A66:
00001A66 2F2D 9BCC move.l -[A7], [A5 - 0x6434]
00001A6A 4879 4452 5652 pea.l [0x44525652]
00001A70 A94D trap AppendResMenu/AddResMenu
00001A72 4267 clr.w -[A7]
00001A74 486D 00D2 pea.l [A5 + 0xD2]
00001A78 486D 00DA pea.l [A5 + 0xDA]
00001A7C 2F2D 9BCC move.l -[A7], [A5 - 0x6434]
00001A80 4EBA FE90 jsr [PC - 0x170 /* 00001912 */]
00001A84 4FEF 000E lea.l A7, [A7 + 0xE]
00001A88 4E5E unlink A6
00001A8A 4E75 rts
00001A8C 534B subq.w A3, 1
00001A8E 454C chk.w D2, A4
00001A90 4150 chk.w D0, [A0]
00001A92 504C addq.w A4, 8
fn00001A94:
00001A94 4E56 0000 link A6, 0
00001A98 48E7 0018 movem.l -[A7], A3,A4
00001A9C 422D 9BBC clr.b [A5 - 0x6444]
00001AA0 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001AA4 4EBA 0090 jsr [PC + 0x90 /* 00001B36 */]
00001AA8 588F addq.l A7, 4
00001AAA 7001 moveq.l D0, 0x01
00001AAC 1B40 9BBC move.b [A5 - 0x6444], D0
00001AB0 42A7 clr.l -[A7]
00001AB2 4878 0032 pea.l [0x00000032]
00001AB6 4EAD 01FA jsr [A5 + 0x1FA]
00001ABA 205F movea.l A0, [A7]+
00001ABC 2848 movea.l A4, A0
00001ABE B0FC 0000 cmpa.w A0, 0x0
00001AC2 6758 beq +0x5A /* 00001B1C */
00001AC4 2054 movea.l A0, [A4]
00001AC6 216D 9BB8 002E move.l [A0 + 0x2E], [A5 - 0x6448]
00001ACC 2B4C 9BB8 move.l [A5 - 0x6448], A4
00001AD0 2654 movea.l A3, [A4]
00001AD2 26AE 0008 move.l [A3], [A6 + 0x8]
00001AD6 276E 000C 0008 move.l [A3 + 0x8], [A6 + 0xC]
00001ADC 276E 0010 000C move.l [A3 + 0xC], [A6 + 0x10]
00001AE2 276E 0014 0010 move.l [A3 + 0x10], [A6 + 0x14]
00001AE8 276E 0018 0014 move.l [A3 + 0x14], [A6 + 0x18]
00001AEE 276E 001C 0018 move.l [A3 + 0x18], [A6 + 0x1C]
00001AF4 276E 0020 0004 move.l [A3 + 0x4], [A6 + 0x20]
00001AFA 276E 0024 001C move.l [A3 + 0x1C], [A6 + 0x24]
00001B00 176E 0029 002D move.b [A3 + 0x2D], [A6 + 0x29]
00001B06 422B 002C clr.b [A3 + 0x2C]
00001B0A 41EB 0024 lea.l A0, [A3 + 0x24]
00001B0E 43ED 9BBE lea.l A1, [A5 - 0x6442]
00001B12 20D9 move.l [A0]+, [A1]+
00001B14 20D9 move.l [A0]+, [A1]+
00001B16 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001B1A A873 trap SetPort
label00001B1C:
00001B1C B8FC 0000 cmpa.w A4, 0x0
00001B20 56C0 sne D0
00001B22 4400 neg.b D0
00001B24 4880 ext.w D0
00001B26 4CDF 1800 movem.l A4,A3, [A7]+
00001B2A 4E5E unlink A6
00001B2C 4E75 rts
00001B2E 534B subq.w A3, 1
00001B30 454C chk.w D2, A4
00001B32 5749 subq.w A1, 3
00001B34 4E44 trap 4
fn00001B36:
00001B36 4E56 0000 link A6, 0
00001B3A 48E7 0018 movem.l -[A7], A3,A4
00001B3E 202E 0008 move.l D0, [A6 + 0x8]
00001B42 B0AD 9BEC cmp.l D0, [A5 - 0x6414]
00001B46 6604 bne +0x6 /* 00001B4C */
00001B48 42AD 9BEC clr.l [A5 - 0x6414]
label00001B4C:
00001B4C 4AAD 9BB8 tst.l [A5 - 0x6448]
00001B50 6700 0066 beq +0x68 /* 00001BB8 */
00001B54 206D 9BB8 movea.l A0, [A5 - 0x6448]
00001B58 2050 movea.l A0, [A0]
00001B5A 2010 move.l D0, [A0]
00001B5C B0AE 0008 cmp.l D0, [A6 + 0x8]
00001B60 6612 bne +0x14 /* 00001B74 */
00001B62 266D 9BB8 movea.l A3, [A5 - 0x6448]
00001B66 206D 9BB8 movea.l A0, [A5 - 0x6448]
00001B6A 2050 movea.l A0, [A0]
00001B6C 2B68 002E 9BB8 move.l [A5 - 0x6448], [A0 + 0x2E]
00001B72 6030 bra +0x32 /* 00001BA4 */
label00001B74:
00001B74 286D 9BB8 movea.l A4, [A5 - 0x6448]
00001B78 6024 bra +0x26 /* 00001B9E */
label00001B7A:
00001B7A 2054 movea.l A0, [A4]
00001B7C 2668 002E movea.l A3, [A0 + 0x2E]
00001B80 B6FC 0000 cmpa.w A3, 0x0
00001B84 6732 beq +0x34 /* 00001BB8 */
00001B86 2053 movea.l A0, [A3]
00001B88 2010 move.l D0, [A0]
00001B8A B0AE 0008 cmp.l D0, [A6 + 0x8]
00001B8E 660C bne +0xE /* 00001B9C */
00001B90 2053 movea.l A0, [A3]
00001B92 2254 movea.l A1, [A4]
00001B94 2368 002E 002E move.l [A1 + 0x2E], [A0 + 0x2E]
00001B9A 6008 bra +0xA /* 00001BA4 */
label00001B9C:
00001B9C 284B movea.l A4, A3
label00001B9E:
00001B9E B8FC 0000 cmpa.w A4, 0x0
00001BA2 66D6 bne -0x28 /* 00001B7A */
label00001BA4:
00001BA4 4A2D 9BBC tst.b [A5 - 0x6444]
00001BA8 6708 beq +0xA /* 00001BB2 */
00001BAA 2F0B move.l -[A7], A3
00001BAC 4EBA F7F6 jsr [PC - 0x80A /* 000013A4 */]
00001BB0 588F addq.l A7, 4
label00001BB2:
00001BB2 2F0B move.l -[A7], A3
00001BB4 4EAD 0202 jsr [A5 + 0x202]
label00001BB8:
00001BB8 4CDF 1800 movem.l A4,A3, [A7]+
00001BBC 4E5E unlink A6
00001BBE 4E75 rts
00001BC0 534B subq.w A3, 1
00001BC2 454C chk.w D2, A4
00001BC4 524D addq.w A5, 1
00001BC6 5645 addq.w D5, 3
00001BC8 4E56 FFFE link A6, -0x0002
00001BCC 4267 clr.w -[A7]
00001BCE 42A7 clr.l -[A7]
00001BD0 2F2E 0014 move.l -[A7], [A6 + 0x14]
00001BD4 2F2E 0010 move.l -[A7], [A6 + 0x10]
00001BD8 42A7 clr.l -[A7]
00001BDA 42A7 clr.l -[A7]
00001BDC 42A7 clr.l -[A7]
00001BDE 42A7 clr.l -[A7]
00001BE0 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001BE4 4EBA FEAE jsr [PC - 0x152 /* 00001A94 */]
00001BE8 4FEF 0022 lea.l A7, [A7 + 0x22]
00001BEC 4A40 tst.w D0
00001BEE 6718 beq +0x1A /* 00001C08 */
00001BF0 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001BF4 4EBA F49A jsr [PC - 0xB66 /* 00001090 */]
00001BF8 588F addq.l A7, 4
00001BFA 2040 movea.l A0, D0
00001BFC 2050 movea.l A0, [A0]
00001BFE 216E 000C 0020 move.l [A0 + 0x20], [A6 + 0xC]
00001C04 7001 moveq.l D0, 0x01
00001C06 6002 bra +0x4 /* 00001C0A */
label00001C08:
00001C08 7000 moveq.l D0, 0x00
label00001C0A:
00001C0A 4E5E unlink A6
00001C0C 4E75 rts
00001C0E 534B subq.w A3, 1
00001C10 454C chk.w D2, A4
00001C12 4449 neg.w A1
00001C14 414C chk.w D0, A4
00001C16 4E56 0000 link A6, 0
00001C1A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001C1E 4EBA FF16 jsr [PC - 0xEA /* 00001B36 */]
00001C22 588F addq.l A7, 4
00001C24 4E5E unlink A6
00001C26 4E75 rts
00001C28 534B subq.w A3, 1
00001C2A 454C chk.w D2, A4
00001C2C 524D addq.w A5, 1
00001C2E 5645 addq.w D5, 3
00001C30 4E56 FFF8 link A6, -0x0008
00001C34 2F0C move.l -[A7], A4
00001C36 4AAE 0008 tst.l [A6 + 0x8]
00001C3A 6618 bne +0x1A /* 00001C54 */
00001C3C 486D 9BBE pea.l [A5 - 0x6442]
00001C40 3F2E 000C move.w -[A7], [A6 + 0xC]
00001C44 3F2E 000E move.w -[A7], [A6 + 0xE]
00001C48 3F2E 0010 move.w -[A7], [A6 + 0x10]
00001C4C 3F2E 0012 move.w -[A7], [A6 + 0x12]
00001C50 A8A7 trap SetRect
00001C52 6034 bra +0x36 /* 00001C88 */
label00001C54:
00001C54 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001C58 4EBA F486 jsr [PC - 0xB7A /* 000010E0 */]
00001C5C 588F addq.l A7, 4
00001C5E 2840 movea.l A4, D0
00001C60 4A80 tst.l D0
00001C62 6724 beq +0x26 /* 00001C88 */
00001C64 486E FFF8 pea.l [A6 - 0x8]
00001C68 3F2E 000C move.w -[A7], [A6 + 0xC]
00001C6C 3F2E 000E move.w -[A7], [A6 + 0xE]
00001C70 3F2E 0010 move.w -[A7], [A6 + 0x10]
00001C74 3F2E 0012 move.w -[A7], [A6 + 0x12]
00001C78 A8A7 trap SetRect
00001C7A 2054 movea.l A0, [A4]
00001C7C 41E8 0024 lea.l A0, [A0 + 0x24]
00001C80 43EE FFF8 lea.l A1, [A6 - 0x8]
00001C84 20D9 move.l [A0]+, [A1]+
00001C86 20D9 move.l [A0]+, [A1]+
label00001C88:
00001C88 285F movea.l A4, [A7]+
00001C8A 4E5E unlink A6
00001C8C 4E75 rts
00001C8E 534B subq.w A3, 1
00001C90 454C chk.w D2, A4
00001C92 4752 chk.w D3, [A2]
00001C94 4F57 chk.w D7, [A7]
00001C96 4E56 0000 link A6, 0
00001C9A 3B6E 0008 9BE6 move.w [A5 - 0x641A], [A6 + 0x8]
00001CA0 4E5E unlink A6
00001CA2 4E75 rts
00001CA4 534B subq.w A3, 1
00001CA6 454C chk.w D2, A4
00001CA8 4556 chk.w D2, [A6]
00001CAA 454E chk.w D2, A6
00001CAC 4E56 0000 link A6, 0
00001CB0 206E 0008 movea.l A0, [A6 + 0x8]
00001CB4 30AD 9BE6 move.w [A0], [A5 - 0x641A]
00001CB8 4E5E unlink A6
00001CBA 4E75 rts
00001CBC 534B subq.w A3, 1
00001CBE 454C chk.w D2, A4
00001CC0 4745 chk.w D3, D5
00001CC2 5445 addq.w D5, 2
00001CC4 4E56 0000 link A6, 0
00001CC8 2B6E 0008 9BDE move.l [A5 - 0x6422], [A6 + 0x8]
00001CCE 4E5E unlink A6
00001CD0 4E75 rts
00001CD2 534B subq.w A3, 1
00001CD4 454C chk.w D2, A4
00001CD6 4241 clr.w D1
00001CD8 434B chk.w D1, A3
00001CDA 4E56 0000 link A6, 0
00001CDE 206E 0008 movea.l A0, [A6 + 0x8]
00001CE2 20AD 9BDE move.l [A0], [A5 - 0x6422]
00001CE6 4E5E unlink A6
00001CE8 4E75 rts
00001CEA 534B subq.w A3, 1
00001CEC 454C chk.w D2, A4
00001CEE 4745 chk.w D3, D5
00001CF0 5442 addq.w D2, 2
00001CF2 4E56 0000 link A6, 0
00001CF6 2B6E 0008 9BE2 move.l [A5 - 0x641E], [A6 + 0x8]
00001CFC 4E5E unlink A6
00001CFE 4E75 rts
00001D00 534B subq.w A3, 1
00001D02 454C chk.w D2, A4
00001D04 4556 chk.w D2, [A6]
00001D06 454E chk.w D2, A6
00001D08 4E56 0000 link A6, 0
00001D0C 206E 0008 movea.l A0, [A6 + 0x8]
00001D10 20AD 9BE2 move.l [A0], [A5 - 0x641E]
00001D14 4E5E unlink A6
00001D16 4E75 rts
00001D18 534B subq.w A3, 1
00001D1A 454C chk.w D2, A4
00001D1C 4745 chk.w D3, D5
00001D1E 5445 addq.w D5, 2
00001D20 4E56 0000 link A6, 0
00001D24 7001 moveq.l D0, 0x01
00001D26 806E 0008 or.w D0, [A6 + 0x8]
00001D2A 3B40 9BF4 move.w [A5 - 0x640C], D0
00001D2E 4E5E unlink A6
00001D30 4E75 rts
00001D32 534B subq.w A3, 1
00001D34 454C chk.w D2, A4
00001D36 444C neg.w A4
00001D38 4F47 chk.w D7, D7
00001D3A 4E56 0000 link A6, 0
00001D3E 206E 0008 movea.l A0, [A6 + 0x8]
00001D42 30AD 9BF4 move.w [A0], [A5 - 0x640C]
00001D46 4E5E unlink A6
00001D48 4E75 rts
00001D4A 534B subq.w A3, 1
00001D4C 454C chk.w D2, A4
00001D4E 4745 chk.w D3, D5
00001D50 5444 addq.w D4, 2
fn00001D52:
00001D52 4E56 FFAC link A6, -0x0054
00001D56 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001D5A 4EAD 0282 jsr [A5 + 0x282]
00001D5E 588F addq.l A7, 4
00001D60 426E FFC8 clr.w [A6 - 0x38]
00001D64 2D6E 0008 FFBE move.l [A6 - 0x42], [A6 + 0x8]
00001D6A 426E FFC2 clr.w [A6 - 0x3E]
00001D6E 422E FFC6 clr.b [A6 - 0x3A]
00001D72 4267 clr.w -[A7]
00001D74 486E FFAC pea.l [A6 - 0x54]
00001D78 4267 clr.w -[A7]
00001D7A 4EAD 0242 jsr [A5 + 0x242]
00001D7E 301F move.w D0, [A7]+
00001D80 0C40 FFD5 cmpi.w D0, 0xFFD5
00001D84 660E bne +0x10 /* 00001D94 */
00001D86 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001D8A 4EAD 027A jsr [A5 + 0x27A]
00001D8E 588F addq.l A7, 4
00001D90 7000 moveq.l D0, 0x00
00001D92 600C bra +0xE /* 00001DA0 */
label00001D94:
00001D94 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001D98 4EAD 027A jsr [A5 + 0x27A]
00001D9C 588F addq.l A7, 4
00001D9E 7001 moveq.l D0, 0x01
label00001DA0:
00001DA0 4E5E unlink A6
00001DA2 4E75 rts
fn00001DA4:
00001DA4 4E56 0000 link A6, 0
00001DA8 48E7 0300 movem.l -[A7], D6,D7
00001DAC 3E2E 0008 move.w D7, [A6 + 0x8]
00001DB0 7C00 moveq.l D6, 0x00
00001DB2 0807 000A btst.b D7, 0xA /* '\n' */
00001DB6 6720 beq +0x22 /* 00001DD8 */
00001DB8 0807 0008 btst.b D7, 0x8
00001DBC 671A beq +0x1C /* 00001DD8 */
00001DBE 2F2E 000A move.l -[A7], [A6 + 0xA]
00001DC2 4EBA FF8E jsr [PC - 0x72 /* 00001D52 */]
00001DC6 588F addq.l A7, 4
00001DC8 4A00 tst.b D0
00001DCA 670C beq +0xE /* 00001DD8 */
00001DCC 7011 moveq.l D0, 0x11
00001DCE 3B40 A266 move.w [A5 - 0x5D9A], D0
00001DD2 7000 moveq.l D0, 0x00
00001DD4 6000 0128 bra +0x12A /* 00001EFE */
label00001DD8:
00001DD8 7003 moveq.l D0, 0x03
00001DDA C047 and.w D0, D7
00001DDC 4EAD 003A jsr [A5 + 0x3A]
00001DE0 0000 0002 ori.b D0, 0x2
00001DE4 00E4 ori.? -[A4], 0xFFFFFFFFFFFFFFFF
00001DE6 0006 004E ori.b D6, 0x4E /* 'N' */
00001DEA 008E 0807 0003 ori.l A6, 0x8070003
00001DF0 670C beq +0xE /* 00001DFE */
00001DF2 7016 moveq.l D0, 0x16
00001DF4 3B40 A266 move.w [A5 - 0x5D9A], D0
00001DF8 7000 moveq.l D0, 0x00
00001DFA 6000 0102 bra +0x104 /* 00001EFE */
label00001DFE:
00001DFE 0807 0009 btst.b D7, 0x9 /* '\t' */
00001E02 6720 beq +0x22 /* 00001E24 */
00001E04 3006 move.w D0, D6
00001E06 5246 addq.w D6, 1
00001E08 41ED 9BFC lea.l A0, [A5 - 0x6404]
00001E0C D0C0 add.w A0, D0
00001E0E 7077 moveq.l D0, 0x77
00001E10 1080 move.b [A0], D0
00001E12 3006 move.w D0, D6
00001E14 5246 addq.w D6, 1
00001E16 41ED 9BFC lea.l A0, [A5 - 0x6404]
00001E1A D0C0 add.w A0, D0
00001E1C 702B moveq.l D0, 0x2B
00001E1E 1080 move.b [A0], D0
00001E20 6000 00B6 bra +0xB8 /* 00001ED8 */
label00001E24:
00001E24 3006 move.w D0, D6
00001E26 5246 addq.w D6, 1
00001E28 41ED 9BFC lea.l A0, [A5 - 0x6404]
00001E2C D0C0 add.w A0, D0
00001E2E 7072 moveq.l D0, 0x72
00001E30 1080 move.b [A0], D0
00001E32 6000 00A4 bra +0xA6 /* 00001ED8 */
00001E36 0807 0003 btst.b D7, 0x3
00001E3A 672A beq +0x2C /* 00001E66 */
00001E3C 0807 0009 btst.b D7, 0x9 /* '\t' */
00001E40 6712 beq +0x14 /* 00001E54 */
00001E42 3006 move.w D0, D6
00001E44 5246 addq.w D6, 1
00001E46 41ED 9BFC lea.l A0, [A5 - 0x6404]
00001E4A D0C0 add.w A0, D0
00001E4C 7077 moveq.l D0, 0x77
00001E4E 1080 move.b [A0], D0
00001E50 6000 0086 bra +0x88 /* 00001ED8 */
label00001E54:
00001E54 3006 move.w D0, D6
00001E56 5246 addq.w D6, 1
00001E58 41ED 9BFC lea.l A0, [A5 - 0x6404]
00001E5C D0C0 add.w A0, D0
00001E5E 7061 moveq.l D0, 0x61
00001E60 1080 move.b [A0], D0
00001E62 6000 0074 bra +0x76 /* 00001ED8 */
label00001E66:
00001E66 3006 move.w D0, D6
00001E68 5246 addq.w D6, 1
00001E6A 41ED 9BFC lea.l A0, [A5 - 0x6404]
00001E6E D0C0 add.w A0, D0
00001E70 7077 moveq.l D0, 0x77
00001E72 1080 move.b [A0], D0
00001E74 6000 0062 bra +0x64 /* 00001ED8 */
label00001E78:
00001E78 0807 0008 btst.b D7, 0x8
00001E7C 6606 bne +0x8 /* 00001E84 */
00001E7E 0807 0009 btst.b D7, 0x9 /* '\t' */
00001E82 6710 beq +0x12 /* 00001E94 */
label00001E84:
00001E84 3006 move.w D0, D6
00001E86 5246 addq.w D6, 1
00001E88 41ED 9BFC lea.l A0, [A5 - 0x6404]
00001E8C D0C0 add.w A0, D0
00001E8E 7077 moveq.l D0, 0x77
00001E90 1080 move.b [A0], D0
00001E92 6024 bra +0x26 /* 00001EB8 */
label00001E94:
00001E94 0807 0003 btst.b D7, 0x3
00001E98 6710 beq +0x12 /* 00001EAA */
00001E9A 3006 move.w D0, D6
00001E9C 5246 addq.w D6, 1
00001E9E 41ED 9BFC lea.l A0, [A5 - 0x6404]
00001EA2 D0C0 add.w A0, D0
00001EA4 7061 moveq.l D0, 0x61
00001EA6 1080 move.b [A0], D0
00001EA8 600E bra +0x10 /* 00001EB8 */
label00001EAA:
00001EAA 3006 move.w D0, D6
00001EAC 5246 addq.w D6, 1
00001EAE 41ED 9BFC lea.l A0, [A5 - 0x6404]
00001EB2 D0C0 add.w A0, D0
00001EB4 7072 moveq.l D0, 0x72
00001EB6 1080 move.b [A0], D0
label00001EB8:
00001EB8 3006 move.w D0, D6
00001EBA 5246 addq.w D6, 1
00001EBC 41ED 9BFC lea.l A0, [A5 - 0x6404]
00001EC0 D0C0 add.w A0, D0
00001EC2 702B moveq.l D0, 0x2B
00001EC4 1080 move.b [A0], D0
00001EC6 6010 bra +0x12 /* 00001ED8 */
00001EC8 0807 0003 btst.b D7, 0x3
00001ECC 66AA bne -0x54 /* 00001E78 */
00001ECE 7016 moveq.l D0, 0x16
00001ED0 3B40 A266 move.w [A5 - 0x5D9A], D0
00001ED4 7000 moveq.l D0, 0x00
00001ED6 6026 bra +0x28 /* 00001EFE */
label00001ED8:
00001ED8 0807 000F btst.b D7, 0xF
00001EDC 670E beq +0x10 /* 00001EEC */
00001EDE 3006 move.w D0, D6
00001EE0 5246 addq.w D6, 1
00001EE2 41ED 9BFC lea.l A0, [A5 - 0x6404]
00001EE6 D0C0 add.w A0, D0
00001EE8 7062 moveq.l D0, 0x62
00001EEA 1080 move.b [A0], D0
label00001EEC:
00001EEC 3006 move.w D0, D6
00001EEE 5246 addq.w D6, 1
00001EF0 41ED 9BFC lea.l A0, [A5 - 0x6404]
00001EF4 D0C0 add.w A0, D0
00001EF6 4210 clr.b [A0]
00001EF8 41ED 9BFC lea.l A0, [A5 - 0x6404]
00001EFC 2008 move.l D0, A0
label00001EFE:
00001EFE 4CDF 00C0 movem.l D7,D6, [A7]+
00001F02 4E5E unlink A6
00001F04 4E75 rts
fn00001F06:
00001F06 4E56 0000 link A6, 0
00001F0A 2F07 move.l -[A7], D7
00001F0C 3E2E 0008 move.w D7, [A6 + 0x8]
00001F10 0C47 001E cmpi.w D7, 0x1E
00001F14 6C14 bge +0x16 /* 00001F2A */
00001F16 3007 move.w D0, D7
00001F18 C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
00001F1A 0012 41ED ori.b [A2], 0xED
00001F1E A038 trap WriteParam
00001F20 D1C0 add.l A0, D0
00001F22 0828 0006 0006 btst.b [A0 + 0x6], 0x6
00001F28 660A bne +0xC /* 00001F34 */
label00001F2A:
00001F2A 7009 moveq.l D0, 0x09
00001F2C 3B40 A266 move.w [A5 - 0x5D9A], D0
00001F30 7001 moveq.l D0, 0x01
00001F32 6002 bra +0x4 /* 00001F36 */
label00001F34:
00001F34 7000 moveq.l D0, 0x00
label00001F36:
00001F36 2E1F move.l D7, [A7]+
00001F38 4E5E unlink A6
00001F3A 4E75 rts
fn00001F3C:
00001F3C 2F07 move.l -[A7], D7
00001F3E 7E00 moveq.l D7, 0x00
00001F40 601A bra +0x1C /* 00001F5C */
label00001F42:
00001F42 3007 move.w D0, D7
00001F44 C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
00001F46 0012 41ED ori.b [A2], 0xED
00001F4A A038 trap WriteParam
00001F4C D1C0 add.l A0, D0
00001F4E 0828 0006 0006 btst.b [A0 + 0x6], 0x6
00001F54 6604 bne +0x6 /* 00001F5A */
00001F56 3007 move.w D0, D7
00001F58 600A bra +0xC /* 00001F64 */
label00001F5A:
00001F5A 5247 addq.w D7, 1
label00001F5C:
00001F5C 0C47 001E cmpi.w D7, 0x1E
00001F60 6DE0 blt -0x1E /* 00001F42 */
00001F62 70FF moveq.l D0, 0xFFFFFFFF
label00001F64:
00001F64 2E1F move.l D7, [A7]+
00001F66 4E75 rts
fn00001F68:
00001F68 4E56 FFFE link A6, -0x0002
00001F6C 2F07 move.l -[A7], D7
00001F6E 3E2E 0008 move.w D7, [A6 + 0x8]
00001F72 3F07 move.w -[A7], D7
00001F74 4EBA FF90 jsr [PC - 0x70 /* 00001F06 */]
00001F78 548F addq.l A7, 2
00001F7A 4A40 tst.w D0
00001F7C 6704 beq +0x6 /* 00001F82 */
00001F7E 70FF moveq.l D0, 0xFFFFFFFF
00001F80 6058 bra +0x5A /* 00001FDA */
label00001F82:
00001F82 7001 moveq.l D0, 0x01
00001F84 1B40 A26C move.b [A5 - 0x5D94], D0
00001F88 3007 move.w D0, D7
00001F8A C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
00001F8C 0012 41ED ori.b [A2], 0xED
00001F90 A038 trap WriteParam
00001F92 D1C0 add.l A0, D0
00001F94 4850 pea.l [A0]
00001F96 3F2E 000E move.w -[A7], [A6 + 0xE]
00001F9A 3F3C 0001 move.w -[A7], 0x1
00001F9E 2F2E 000A move.l -[A7], [A6 + 0xA]
00001FA2 206E 0010 movea.l A0, [A6 + 0x10]
00001FA6 4E90 jsr [A0]
00001FA8 4FEF 000C lea.l A7, [A7 + 0xC]
00001FAC 3D40 FFFE move.w [A6 - 0x2], D0
00001FB0 4A40 tst.w D0
00001FB2 6706 beq +0x8 /* 00001FBA */
00001FB4 302E FFFE move.w D0, [A6 - 0x2]
00001FB8 6020 bra +0x22 /* 00001FDA */
label00001FBA:
00001FBA 3007 move.w D0, D7
00001FBC C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
00001FBE 0012 41ED ori.b [A2], 0xED
00001FC2 A038 trap WriteParam
00001FC4 D1C0 add.l A0, D0
00001FC6 0C68 FFD9 0002 cmpi.w [A0 + 0x2], 0xFFD9
00001FCC 6604 bne +0x6 /* 00001FD2 */
00001FCE 7000 moveq.l D0, 0x00
00001FD0 6008 bra +0xA /* 00001FDA */
label00001FD2:
00001FD2 7005 moveq.l D0, 0x05
00001FD4 3B40 A266 move.w [A5 - 0x5D9A], D0
00001FD8 70FF moveq.l D0, 0xFFFFFFFF
label00001FDA:
00001FDA 2E1F move.l D7, [A7]+
00001FDC 4E5E unlink A6
00001FDE 4E75 rts
00001FE0 4E56 0000 link A6, 0
00001FE4 2F0C move.l -[A7], A4
00001FE6 286E 0008 movea.l A4, [A6 + 0x8]
00001FEA 200C move.l D0, A4
00001FEC 6708 beq +0xA /* 00001FF6 */
00001FEE 082C 0006 0006 btst.b [A4 + 0x6], 0x6
00001FF4 6604 bne +0x6 /* 00001FFA */
label00001FF6:
00001FF6 70FF moveq.l D0, 0xFFFFFFFF
00001FF8 6004 bra +0x6 /* 00001FFE */
label00001FFA:
00001FFA 302C 0004 move.w D0, [A4 + 0x4]
label00001FFE:
00001FFE 285F movea.l A4, [A7]+
00002000 4E5E unlink A6
00002002 4E75 rts
fn00002004:
00002004 4E56 FFF8 link A6, -0x0008
00002008 4EBA FF32 jsr [PC - 0xCE /* 00001F3C */]
0000200C 0C40 FFFF cmpi.w D0, 0xFFFF
00002010 660C bne +0xE /* 0000201E */
00002012 7018 moveq.l D0, 0x18
00002014 3B40 A266 move.w [A5 - 0x5D9A], D0
00002018 70FF moveq.l D0, 0xFFFFFFFF
0000201A 6000 0050 bra +0x52 /* 0000206C */
label0000201E:
0000201E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002022 3F2E 000C move.w -[A7], [A6 + 0xC]
00002026 4EBA FD7C jsr [PC - 0x284 /* 00001DA4 */]
0000202A 5C8F addq.l A7, 6
0000202C 2D40 FFFC move.l [A6 - 0x4], D0
00002030 4A80 tst.l D0
00002032 6604 bne +0x6 /* 00002038 */
00002034 70FF moveq.l D0, 0xFFFFFFFF
00002036 6034 bra +0x36 /* 0000206C */
label00002038:
00002038 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000203C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002040 4EAD 016A jsr [A5 + 0x16A]
00002044 508F addq.l A7, 8
00002046 2D40 FFF8 move.l [A6 - 0x8], D0
0000204A 4A80 tst.l D0
0000204C 6616 bne +0x18 /* 00002064 */
0000204E 0C6D FFD5 A266 cmpi.w [A5 - 0x5D9A], 0xFFD5
00002054 6704 beq +0x6 /* 0000205A */
00002056 700D moveq.l D0, 0x0D
00002058 6002 bra +0x4 /* 0000205C */
label0000205A:
0000205A 7002 moveq.l D0, 0x02
label0000205C:
0000205C 3B40 A266 move.w [A5 - 0x5D9A], D0
00002060 70FF moveq.l D0, 0xFFFFFFFF
00002062 6008 bra +0xA /* 0000206C */
label00002064:
00002064 206E FFF8 movea.l A0, [A6 - 0x8]
00002068 3028 0004 move.w D0, [A0 + 0x4]
label0000206C:
0000206C 4E5E unlink A6
0000206E 4E75 rts
fn00002070:
00002070 4E56 0000 link A6, 0
00002074 2F07 move.l -[A7], D7
00002076 3E2E 0008 move.w D7, [A6 + 0x8]
0000207A 3F07 move.w -[A7], D7
0000207C 4EBA FE88 jsr [PC - 0x178 /* 00001F06 */]
00002080 548F addq.l A7, 2
00002082 4A40 tst.w D0
00002084 6704 beq +0x6 /* 0000208A */
00002086 70FF moveq.l D0, 0xFFFFFFFF
00002088 6014 bra +0x16 /* 0000209E */
label0000208A:
0000208A 3007 move.w D0, D7
0000208C C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
0000208E 0012 41ED ori.b [A2], 0xED
00002092 A038 trap WriteParam
00002094 D1C0 add.l A0, D0
00002096 4850 pea.l [A0]
00002098 4EAD 0162 jsr [A5 + 0x162]
0000209C 588F addq.l A7, 4
label0000209E:
0000209E 2E1F move.l D7, [A7]+
000020A0 4E5E unlink A6
000020A2 4E75 rts
fn000020A4:
000020A4 4E56 0000 link A6, 0
000020A8 486D 017A pea.l [A5 + 0x17A]
000020AC 3F2E 000E move.w -[A7], [A6 + 0xE]
000020B0 2F2E 000A move.l -[A7], [A6 + 0xA]
000020B4 3F2E 0008 move.w -[A7], [A6 + 0x8]
000020B8 4EBA FEAE jsr [PC - 0x152 /* 00001F68 */]
000020BC 4FEF 000C lea.l A7, [A7 + 0xC]
000020C0 4E5E unlink A6
000020C2 4E75 rts
fn000020C4:
000020C4 4E56 0000 link A6, 0
000020C8 486D 0182 pea.l [A5 + 0x182]
000020CC 3F2E 000E move.w -[A7], [A6 + 0xE]
000020D0 2F2E 000A move.l -[A7], [A6 + 0xA]
000020D4 3F2E 0008 move.w -[A7], [A6 + 0x8]
000020D8 4EBA FE8E jsr [PC - 0x172 /* 00001F68 */]
000020DC 4FEF 000C lea.l A7, [A7 + 0xC]
000020E0 4E5E unlink A6
000020E2 4E75 rts
fn000020E4:
000020E4 4E56 0000 link A6, 0
000020E8 48E7 0300 movem.l -[A7], D6,D7
000020EC 3E2E 0008 move.w D7, [A6 + 0x8]
000020F0 3C2E 000E move.w D6, [A6 + 0xE]
000020F4 3F07 move.w -[A7], D7
000020F6 4EBA FE0E jsr [PC - 0x1F2 /* 00001F06 */]
000020FA 548F addq.l A7, 2
000020FC 4A40 tst.w D0
000020FE 6704 beq +0x6 /* 00002104 */
00002100 70FF moveq.l D0, 0xFFFFFFFF
00002102 604E bra +0x50 /* 00002152 */
label00002104:
00002104 0C46 0002 cmpi.w D6, 0x2
00002108 630A bls +0xC /* 00002114 */
0000210A 7016 moveq.l D0, 0x16
0000210C 3B40 A266 move.w [A5 - 0x5D9A], D0
00002110 70FF moveq.l D0, 0xFFFFFFFF
00002112 603E bra +0x40 /* 00002152 */
label00002114:
00002114 3007 move.w D0, D7
00002116 C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
00002118 0012 41ED ori.b [A2], 0xED
0000211C A038 trap WriteParam
0000211E D1C0 add.l A0, D0
00002120 3F06 move.w -[A7], D6
00002122 2F2E 000A move.l -[A7], [A6 + 0xA]
00002126 4850 pea.l [A0]
00002128 4EAD 014A jsr [A5 + 0x14A]
0000212C 4FEF 000A lea.l A7, [A7 + 0xA]
00002130 4A40 tst.w D0
00002132 670A beq +0xC /* 0000213E */
00002134 7005 moveq.l D0, 0x05
00002136 3B40 A266 move.w [A5 - 0x5D9A], D0
0000213A 70FF moveq.l D0, 0xFFFFFFFF
0000213C 6014 bra +0x16 /* 00002152 */
label0000213E:
0000213E 3007 move.w D0, D7
00002140 C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
00002142 0012 41ED ori.b [A2], 0xED
00002146 A038 trap WriteParam
00002148 D1C0 add.l A0, D0
0000214A 4850 pea.l [A0]
0000214C 4EAD 0142 jsr [A5 + 0x142]
00002150 588F addq.l A7, 4
label00002152:
00002152 4CDF 00C0 movem.l D7,D6, [A7]+
00002156 4E5E unlink A6
00002158 4E75 rts
0000215A 4E56 0000 link A6, 0
0000215E 302E 0008 move.w D0, [A6 + 0x8]
00002162 C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
00002164 0012 41ED ori.b [A2], 0xED
00002168 A038 trap WriteParam
0000216A D1C0 add.l A0, D0
0000216C 4850 pea.l [A0]
0000216E 4EAD 0142 jsr [A5 + 0x142]
00002172 588F addq.l A7, 4
00002174 4E5E unlink A6
00002176 4E75 rts
fn00002178:
00002178 4E56 FFCE link A6, -0x0032
0000217C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002180 4EAD 0282 jsr [A5 + 0x282]
00002184 588F addq.l A7, 4
00002186 2F2E 000C move.l -[A7], [A6 + 0xC]
0000218A 4EAD 0282 jsr [A5 + 0x282]
0000218E 588F addq.l A7, 4
00002190 2D6E 0008 FFE0 move.l [A6 - 0x20], [A6 + 0x8]
00002196 426E FFE4 clr.w [A6 - 0x1C]
0000219A 422E FFE8 clr.b [A6 - 0x18]
0000219E 2D6E 000C FFEA move.l [A6 - 0x16], [A6 + 0xC]
000021A4 4267 clr.w -[A7]
000021A6 486E FFCE pea.l [A6 - 0x32]
000021AA 4267 clr.w -[A7]
000021AC 4EAD 023A jsr [A5 + 0x23A]
000021B0 301F move.w D0, [A7]+
000021B2 4A40 tst.w D0
000021B4 671E beq +0x20 /* 000021D4 */
000021B6 7005 moveq.l D0, 0x05
000021B8 3B40 A266 move.w [A5 - 0x5D9A], D0
000021BC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000021C0 4EAD 027A jsr [A5 + 0x27A]
000021C4 588F addq.l A7, 4
000021C6 2F2E 000C move.l -[A7], [A6 + 0xC]
000021CA 4EAD 027A jsr [A5 + 0x27A]
000021CE 588F addq.l A7, 4
000021D0 70FF moveq.l D0, 0xFFFFFFFF
000021D2 6016 bra +0x18 /* 000021EA */
label000021D4:
000021D4 2F2E 0008 move.l -[A7], [A6 + 0x8]
000021D8 4EAD 027A jsr [A5 + 0x27A]
000021DC 588F addq.l A7, 4
000021DE 2F2E 000C move.l -[A7], [A6 + 0xC]
000021E2 4EAD 027A jsr [A5 + 0x27A]
000021E6 588F addq.l A7, 4
000021E8 7000 moveq.l D0, 0x00
label000021EA:
000021EA 4E5E unlink A6
000021EC 4E75 rts
fn000021EE:
000021EE 4E56 FFCE link A6, -0x0032
000021F2 2F2E 0008 move.l -[A7], [A6 + 0x8]
000021F6 4EAD 0282 jsr [A5 + 0x282]
000021FA 588F addq.l A7, 4
000021FC 2D6E 0008 FFE0 move.l [A6 - 0x20], [A6 + 0x8]
00002202 426E FFE4 clr.w [A6 - 0x1C]
00002206 422E FFE8 clr.b [A6 - 0x18]
0000220A 4267 clr.w -[A7]
0000220C 486E FFCE pea.l [A6 - 0x32]
00002210 4267 clr.w -[A7]
00002212 4EAD 0232 jsr [A5 + 0x232]
00002216 301F move.w D0, [A7]+
00002218 4A40 tst.w D0
0000221A 6714 beq +0x16 /* 00002230 */
0000221C 7005 moveq.l D0, 0x05
0000221E 3B40 A266 move.w [A5 - 0x5D9A], D0
00002222 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002226 4EAD 027A jsr [A5 + 0x27A]
0000222A 588F addq.l A7, 4
0000222C 70FF moveq.l D0, 0xFFFFFFFF
0000222E 600C bra +0xE /* 0000223C */
label00002230:
00002230 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002234 4EAD 027A jsr [A5 + 0x27A]
00002238 588F addq.l A7, 4
0000223A 7000 moveq.l D0, 0x00
label0000223C:
0000223C 4E5E unlink A6
0000223E 4E75 rts
00002240 4E56 0000 link A6, 0
00002244 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002248 4EBA FFA4 jsr [PC - 0x5C /* 000021EE */]
0000224C 588F addq.l A7, 4
0000224E 4E5E unlink A6
00002250 4E75 rts
fn00002252:
00002252 4E56 0000 link A6, 0
00002256 303C 0100 move.w D0, 0x100
0000225A 806E 000C or.w D0, [A6 + 0xC]
0000225E 3F00 move.w -[A7], D0
00002260 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002264 4EBA FD9E jsr [PC - 0x262 /* 00002004 */]
00002268 5C8F addq.l A7, 6
0000226A 4E5E unlink A6
0000226C 4E75 rts
0000226E 4E56 0000 link A6, 0
00002272 48E7 0138 movem.l -[A7], D7,A2,A3,A4
00002276 286E 0008 movea.l A4, [A6 + 0x8]
0000227A 244C movea.l A2, A4
0000227C 6000 0046 bra +0x48 /* 000022C4 */
label00002280:
00002280 0C14 0022 cmpi.b [A4], 0x22 /* '"' */
00002284 6706 beq +0x8 /* 0000228C */
00002286 0C14 0027 cmpi.b [A4], 0x27 /* ''' */
0000228A 6616 bne +0x18 /* 000022A2 */
label0000228C:
0000228C 41D4 lea.l A0, [A4]
0000228E 528C addq.l A4, 1
00002290 1E10 move.b D7, [A0]
00002292 6002 bra +0x4 /* 00002296 */
label00002294:
00002294 528C addq.l A4, 1
label00002296:
00002296 4A14 tst.b [A4]
00002298 6704 beq +0x6 /* 0000229E */
0000229A BE14 cmp.b D7, [A4]
0000229C 66F6 bne -0x8 /* 00002294 */
label0000229E:
0000229E 528C addq.l A4, 1
000022A0 6022 bra +0x24 /* 000022C4 */
label000022A2:
000022A2 0C14 005C cmpi.b [A4], 0x5C /* '\\' */
000022A6 6604 bne +0x6 /* 000022AC */
000022A8 528C addq.l A4, 1
000022AA 6018 bra +0x1A /* 000022C4 */
label000022AC:
000022AC 266E 000C movea.l A3, [A6 + 0xC]
000022B0 6002 bra +0x4 /* 000022B4 */
label000022B2:
000022B2 528B addq.l A3, 1
label000022B4:
000022B4 4A13 tst.b [A3]
000022B6 6706 beq +0x8 /* 000022BE */
000022B8 1014 move.b D0, [A4]
000022BA B013 cmp.b D0, [A3]
000022BC 66F4 bne -0xA /* 000022B2 */
label000022BE:
000022BE 4A13 tst.b [A3]
000022C0 6606 bne +0x8 /* 000022C8 */
000022C2 528C addq.l A4, 1
label000022C4:
000022C4 4A14 tst.b [A4]
000022C6 66B8 bne -0x46 /* 00002280 */
label000022C8:
000022C8 200C move.l D0, A4
000022CA 908A sub.l D0, A2
000022CC 4CDF 1C80 movem.l A4,A3,A2,D7, [A7]+
000022D0 4E5E unlink A6
000022D2 4E75 rts
000022D4 5354 subq.w [A4], 1
000022D6 4341 chk.w D1, D1
000022D8 5247 addq.w D7, 1
000022DA 2020 move.l D0, -[A0]
fn000022DC:
000022DC 4E56 0000 link A6, 0
000022E0 48E7 0108 movem.l -[A7], D7,A4
000022E4 286E 0008 movea.l A4, [A6 + 0x8]
000022E8 601E bra +0x20 /* 00002308 */
label000022EA:
000022EA 2F2E 000C move.l -[A7], [A6 + 0xC]
000022EE 2F0C move.l -[A7], A4
000022F0 4EBA 002C jsr [PC + 0x2C /* 0000231E */]
000022F4 508F addq.l A7, 8
000022F6 3E00 move.w D7, D0
000022F8 4A40 tst.w D0
000022FA 670A beq +0xC /* 00002306 */
000022FC 206E 0010 movea.l A0, [A6 + 0x10]
00002300 208C move.l [A0], A4
00002302 3007 move.w D0, D7
00002304 6008 bra +0xA /* 0000230E */
label00002306:
00002306 528C addq.l A4, 1
label00002308:
00002308 4A14 tst.b [A4]
0000230A 66DE bne -0x20 /* 000022EA */
0000230C 7000 moveq.l D0, 0x00
label0000230E:
0000230E 4CDF 1080 movem.l A4,D7, [A7]+
00002312 4E5E unlink A6
00002314 4E75 rts
00002316 5354 subq.w [A4], 1
00002318 4350 chk.w D1, [A0]
0000231A 4D20 .invalid 6, -[A0] // invalid opcode 4 with b == 4
0000231C 2020 move.l D0, -[A0]
fn0000231E:
0000231E 4E56 FFFC link A6, -0x0004
00002322 48E7 0118 movem.l -[A7], D7,A3,A4
00002326 266E 0008 movea.l A3, [A6 + 0x8]
0000232A 286E 000C movea.l A4, [A6 + 0xC]
0000232E 2D4B FFFC move.l [A6 - 0x4], A3
00002332 6000 006A bra +0x6C /* 0000239E */
label00002336:
00002336 0C14 003F cmpi.b [A4], 0x3F /* '?' */
0000233A 6608 bne +0xA /* 00002344 */
0000233C 528B addq.l A3, 1
0000233E 528C addq.l A4, 1
00002340 6000 005C bra +0x5E /* 0000239E */
label00002344:
00002344 41D4 lea.l A0, [A4]
00002346 528C addq.l A4, 1
00002348 1E10 move.b D7, [A0]
0000234A 0C07 005C cmpi.b D7, 0x5C /* '\\' */
0000234E 6600 0020 bne +0x22 /* 00002370 */
00002352 1014 move.b D0, [A4]
00002354 4880 ext.w D0
00002356 4EAD 002A jsr [A5 + 0x2A]
0000235A 0003 000E ori.b D3, 0xE
0000235E 002A 000A 002B ori.b [A2 + 0x2B], 0xA /* '\n' */
00002364 0006 003F ori.b D6, 0x3F /* '?' */
00002368 0036 41D4 528C ori.b [A6 + D5.w * 2 - 0x74], 0xD4
0000236E 1E10 move.b D7, [A0]
label00002370:
00002370 0C14 002A cmpi.b [A4], 0x2A /* '*' */
00002374 660C bne +0xE /* 00002382 */
00002376 528C addq.l A4, 1
00002378 6002 bra +0x4 /* 0000237C */
label0000237A:
0000237A 528B addq.l A3, 1
label0000237C:
0000237C BE13 cmp.b D7, [A3]
0000237E 67FA beq -0x4 /* 0000237A */
00002380 601C bra +0x1E /* 0000239E */
label00002382:
00002382 0C14 002B cmpi.b [A4], 0x2B /* '+' */
00002386 6610 bne +0x12 /* 00002398 */
00002388 528C addq.l A4, 1
0000238A BE13 cmp.b D7, [A3]
0000238C 6704 beq +0x6 /* 00002392 */
0000238E 6012 bra +0x14 /* 000023A2 */
label00002390:
00002390 528B addq.l A3, 1
label00002392:
00002392 BE13 cmp.b D7, [A3]
00002394 67FA beq -0x4 /* 00002390 */
00002396 6006 bra +0x8 /* 0000239E */
label00002398:
00002398 BE13 cmp.b D7, [A3]
0000239A 6606 bne +0x8 /* 000023A2 */
0000239C 528B addq.l A3, 1
label0000239E:
0000239E 4A14 tst.b [A4]
000023A0 6694 bne -0x6A /* 00002336 */
label000023A2:
000023A2 200B move.l D0, A3
000023A4 90AE FFFC sub.l D0, [A6 - 0x4]
000023A8 4CDF 1880 movem.l A4,A3,D7, [A7]+
000023AC 4E5E unlink A6
000023AE 4E75 rts
000023B0 5354 subq.w [A4], 1
000023B2 4350 chk.w D1, [A0]
000023B4 4D41 chk.w D6, D1
000023B6 2020 move.l D0, -[A0]
000023B8 4E56 0000 link A6, 0
000023BC 48E7 0118 movem.l -[A7], D7,A3,A4
000023C0 286E 0008 movea.l A4, [A6 + 0x8]
000023C4 266E 000C movea.l A3, [A6 + 0xC]
000023C8 3E2E 0010 move.w D7, [A6 + 0x10]
000023CC 0C14 0061 cmpi.b [A4], 0x61 /* 'a' */
000023D0 6D06 blt +0x8 /* 000023D8 */
000023D2 0C14 007A cmpi.b [A4], 0x7A /* 'z' */
000023D6 6F20 ble +0x22 /* 000023F8 */
label000023D8:
000023D8 0C14 0041 cmpi.b [A4], 0x41 /* 'A' */
000023DC 6D00 003E blt +0x40 /* 0000241C */
000023E0 0C14 005A cmpi.b [A4], 0x5A /* 'Z' */
000023E4 6F12 ble +0x14 /* 000023F8 */
000023E6 6034 bra +0x36 /* 0000241C */
label000023E8:
000023E8 0C47 0001 cmpi.w D7, 0x1
000023EC 6F08 ble +0xA /* 000023F6 */
000023EE 5347 subq.w D7, 1
000023F0 41D3 lea.l A0, [A3]
000023F2 528B addq.l A3, 1
000023F4 1094 move.b [A0], [A4]
label000023F6:
000023F6 528C addq.l A4, 1
label000023F8:
000023F8 0C14 0061 cmpi.b [A4], 0x61 /* 'a' */
000023FC 6D06 blt +0x8 /* 00002404 */
000023FE 0C14 007A cmpi.b [A4], 0x7A /* 'z' */
00002402 6FE4 ble -0x1A /* 000023E8 */
label00002404:
00002404 0C14 0041 cmpi.b [A4], 0x41 /* 'A' */
00002408 6D06 blt +0x8 /* 00002410 */
0000240A 0C14 005A cmpi.b [A4], 0x5A /* 'Z' */
0000240E 6FD8 ble -0x26 /* 000023E8 */
label00002410:
00002410 0C14 0030 cmpi.b [A4], 0x30 /* '0' */
00002414 6D06 blt +0x8 /* 0000241C */
00002416 0C14 0039 cmpi.b [A4], 0x39 /* '9' */
0000241A 6FCC ble -0x32 /* 000023E8 */
label0000241C:
0000241C 4213 clr.b [A3]
0000241E 200C move.l D0, A4
00002420 4CDF 1880 movem.l A4,A3,D7, [A7]+
00002424 4E5E unlink A6
00002426 4E75 rts
00002428 5354 subq.w [A4], 1
0000242A 5053 addq.w [A3], 8
0000242C 594D subq.w A5, 4
0000242E 2020 move.l D0, -[A0]
fn00002430:
00002430 4CEF 0300 0004 movem.l A1,A0, [A7 + 0x4]
label00002436:
00002436 4A10 tst.b [A0]
00002438 6712 beq +0x14 /* 0000244C */
0000243A 2449 movea.l A2, A1
label0000243C:
0000243C 4A12 tst.b [A2]
0000243E 6708 beq +0xA /* 00002448 */
00002440 B508 cmpm.b [A2]+, [A0]+
00002442 5388 subq.l A0, 1
00002444 6706 beq +0x8 /* 0000244C */
00002446 60F4 bra -0xA /* 0000243C */
label00002448:
00002448 5288 addq.l A0, 1
0000244A 60EA bra -0x14 /* 00002436 */
label0000244C:
0000244C 2008 move.l D0, A0
0000244E 90AF 0004 sub.l D0, [A7 + 0x4]
00002452 4E75 rts
fn00002454:
00002454 4CEF 0300 0004 movem.l A1,A0, [A7 + 0x4]
0000245A 2008 move.l D0, A0
0000245C 322F 000C move.w D1, [A7 + 0xC]
00002460 6E02 bgt +0x4 /* 00002464 */
label00002462:
00002462 6012 bra +0x14 /* 00002476 */
label00002464:
00002464 10D9 move.b [A0]+, [A1]+
00002466 6706 beq +0x8 /* 0000246E */
00002468 5341 subq.w D1, 1
0000246A 6EF8 bgt -0x6 /* 00002464 */
0000246C 67F4 beq -0xA /* 00002462 */
label0000246E:
0000246E 5341 subq.w D1, 1
00002470 67F0 beq -0xE /* 00002462 */
00002472 4218 clr.b [A0]+
00002474 60F8 bra -0x6 /* 0000246E */
label00002476:
00002476 4E75 rts
00002478 4E56 0000 link A6, 0
0000247C 2F07 move.l -[A7], D7
0000247E 2F2E 0012 move.l -[A7], [A6 + 0x12]
00002482 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002486 4EBA FFA8 jsr [PC - 0x58 /* 00002430 */]
0000248A 508F addq.l A7, 8
0000248C 3E00 move.w D7, D0
0000248E BE6E 0010 cmp.w D7, [A6 + 0x10]
00002492 6C06 bge +0x8 /* 0000249A */
00002494 3047 movea.w A0, D7
00002496 2008 move.l D0, A0
00002498 6006 bra +0x8 /* 000024A0 */
label0000249A:
0000249A 302E 0010 move.w D0, [A6 + 0x10]
0000249E 5340 subq.w D0, 1
label000024A0:
000024A0 3E00 move.w D7, D0
000024A2 3F00 move.w -[A7], D0
000024A4 2F2E 0008 move.l -[A7], [A6 + 0x8]
000024A8 2F2E 000C move.l -[A7], [A6 + 0xC]
000024AC 4EBA FFA6 jsr [PC - 0x5A /* 00002454 */]
000024B0 4FEF 000A lea.l A7, [A7 + 0xA]
000024B4 3047 movea.w A0, D7
000024B6 D1EE 000C add.l A0, [A6 + 0xC]
000024BA 4210 clr.b [A0]
000024BC 3047 movea.w A0, D7
000024BE D1EE 0008 add.l A0, [A6 + 0x8]
000024C2 2008 move.l D0, A0
000024C4 2E1F move.l D7, [A7]+
000024C6 4E5E unlink A6
000024C8 4E75 rts
000024CA 5354 subq.w [A4], 1
000024CC 5054 addq.w [A4], 8
000024CE 4F4B chk.w D7, A3
000024D0 2020 move.l D0, -[A0]
fn000024D2:
000024D2 4E56 FFFA link A6, -0x0006
000024D6 2D6E 0008 FFFC move.l [A6 - 0x4], [A6 + 0x8]
000024DC 206E FFFC movea.l A0, [A6 - 0x4]
000024E0 1D50 FFFB move.b [A6 - 0x5], [A0]
000024E4 206E FFFC movea.l A0, [A6 - 0x4]
000024E8 226E FFFC movea.l A1, [A6 - 0x4]
000024EC 12A8 0001 move.b [A1], [A0 + 0x1]
000024F0 206E FFFC movea.l A0, [A6 - 0x4]
000024F4 116E FFFB 0001 move.b [A0 + 0x1], [A6 - 0x5]
000024FA 4E5E unlink A6
000024FC 4E75 rts
000024FE 5357 subq.w [A7], 1
00002500 4150 chk.w D0, [A0]
00002502 4259 clr.w [A1]+
00002504 5445 addq.w D5, 2
fn00002506:
00002506 4E56 FFF8 link A6, -0x0008
0000250A 2D6E 0008 FFFC move.l [A6 - 0x4], [A6 + 0x8]
00002510 206E FFFC movea.l A0, [A6 - 0x4]
00002514 1D50 FFFB move.b [A6 - 0x5], [A0]
00002518 206E FFFC movea.l A0, [A6 - 0x4]
0000251C 1D68 0001 FFFA move.b [A6 - 0x6], [A0 + 0x1]
00002522 206E FFFC movea.l A0, [A6 - 0x4]
00002526 1D68 0002 FFF9 move.b [A6 - 0x7], [A0 + 0x2]
0000252C 206E FFFC movea.l A0, [A6 - 0x4]
00002530 1D68 0003 FFF8 move.b [A6 - 0x8], [A0 + 0x3]
00002536 206E FFFC movea.l A0, [A6 - 0x4]
0000253A 10AE FFF8 move.b [A0], [A6 - 0x8]
0000253E 206E FFFC movea.l A0, [A6 - 0x4]
00002542 116E FFF9 0001 move.b [A0 + 0x1], [A6 - 0x7]
00002548 206E FFFC movea.l A0, [A6 - 0x4]
0000254C 116E FFFA 0002 move.b [A0 + 0x2], [A6 - 0x6]
00002552 206E FFFC movea.l A0, [A6 - 0x4]
00002556 116E FFFB 0003 move.b [A0 + 0x3], [A6 - 0x5]
0000255C 4E5E unlink A6
0000255E 4E75 rts
00002560 5357 subq.w [A7], 1
00002562 4150 chk.w D0, [A0]
00002564 4C42 5954 movem.l A6,A4,A3,A0,D6,D4,D2, D2
fn00002568:
00002568 4E56 FFFE link A6, -0x0002
0000256C 4AAD A7AC tst.l [A5 - 0x5854]
00002570 6E08 bgt +0xA /* 0000257A */
00002572 426D A794 clr.w [A5 - 0x586C]
00002576 7000 moveq.l D0, 0x00
00002578 6048 bra +0x4A /* 000025C2 */
label0000257A:
0000257A 7000 moveq.l D0, 0x00
0000257C 302D A788 move.w D0, [A5 - 0x5878]
00002580 B0AD A7AC cmp.l D0, [A5 - 0x5854]
00002584 6C08 bge +0xA /* 0000258E */
00002586 3D6D A788 FFFE move.w [A6 - 0x2], [A5 - 0x5878]
0000258C 6006 bra +0x8 /* 00002594 */
label0000258E:
0000258E 3D6D A7AE FFFE move.w [A6 - 0x2], [A5 - 0x5852]
label00002594:
00002594 3F2E FFFE move.w -[A7], [A6 - 0x2]
00002598 2F2D A78C move.l -[A7], [A5 - 0x5874]
0000259C 3F2D A79C move.w -[A7], [A5 - 0x5864]
000025A0 4EBA FB02 jsr [PC - 0x4FE /* 000020A4 */]
000025A4 508F addq.l A7, 8
000025A6 3B40 A794 move.w [A5 - 0x586C], D0
000025AA 302D A794 move.w D0, [A5 - 0x586C]
000025AE 48C0 ext.l D0
000025B0 91AD A7AC sub.l [A5 - 0x5854], D0
000025B4 2B6D A78C A790 move.l [A5 - 0x5870], [A5 - 0x5874]
000025BA 302D A794 move.w D0, [A5 - 0x586C]
000025BE 536D A794 subq.w [A5 - 0x586C], 1
label000025C2:
000025C2 4E5E unlink A6
000025C4 4E75 rts
000025C6 4649 not.w A1
000025C8 4C4C 4255 movem.l A6,A1,D6,D4,D2,D0, A4
000025CC 4646 not.w D6
fn000025CE:
000025CE 4E56 0000 link A6, 0
000025D2 52AD A778 addq.l [A5 - 0x5888], 1
000025D6 202D A77C move.l D0, [A5 - 0x5884]
000025DA B0AD A778 cmp.l D0, [A5 - 0x5888]
000025DE 6616 bne +0x18 /* 000025F6 */
000025E0 42AD A778 clr.l [A5 - 0x5888]
000025E4 526D A784 addq.w [A5 - 0x587C], 1
000025E8 3F2D A784 move.w -[A7], [A5 - 0x587C]
000025EC 3F2D A786 move.w -[A7], [A5 - 0x587A]
000025F0 4EBA 14F0 jsr [PC + 0x14F0 /* 00003AE2 */]
000025F4 588F addq.l A7, 4
label000025F6:
000025F6 302D A794 move.w D0, [A5 - 0x586C]
000025FA 536D A794 subq.w [A5 - 0x586C], 1
000025FE 4A40 tst.w D0
00002600 660C bne +0xE /* 0000260E */
00002602 4EBA FF64 jsr [PC - 0x9C /* 00002568 */]
00002606 4A40 tst.w D0
00002608 6604 bne +0x6 /* 0000260E */
0000260A 7000 moveq.l D0, 0x00
0000260C 6014 bra +0x16 /* 00002622 */
label0000260E:
0000260E 206D A790 movea.l A0, [A5 - 0x5870]
00002612 52AD A790 addq.l [A5 - 0x5870], 1
00002616 226E 0008 movea.l A1, [A6 + 0x8]
0000261A 7000 moveq.l D0, 0x00
0000261C 1010 move.b D0, [A0]
0000261E 3280 move.w [A1], D0
00002620 7008 moveq.l D0, 0x08
label00002622:
00002622 4E5E unlink A6
00002624 4E75 rts
00002626 5245 addq.w D5, 1
00002628 4144 chk.w D0, D4
0000262A 4259 clr.w [A1]+
0000262C 5445 addq.w D5, 2
fn0000262E:
0000262E 4E56 FFFC link A6, -0x0004
00002632 48E7 0300 movem.l -[A7], D6,D7
00002636 3E2E 0008 move.w D7, [A6 + 0x8]
0000263A 3C2D A796 move.w D6, [A5 - 0x586A]
0000263E 3D6D A798 FFFC move.w [A6 - 0x4], [A5 - 0x5868]
00002644 9E6D A798 sub.w D7, [A5 - 0x5868]
00002648 486D A796 pea.l [A5 - 0x586A]
0000264C 4EBA FF80 jsr [PC - 0x80 /* 000025CE */]
00002650 588F addq.l A7, 4
00002652 3B40 A798 move.w [A5 - 0x5868], D0
00002656 486E FFFE pea.l [A6 - 0x2]
0000265A 4EBA FF72 jsr [PC - 0x8E /* 000025CE */]
0000265E 588F addq.l A7, 4
00002660 D16D A798 add.w [A5 - 0x5868], D0
00002664 302E FFFE move.w D0, [A6 - 0x2]
00002668 E148 lsl D0.w, 8
0000266A 816D A796 or.w [A5 - 0x586A], D0
0000266E 4A6D A798 tst.w [A5 - 0x5868]
00002672 6606 bne +0x8 /* 0000267A */
00002674 7001 moveq.l D0, 0x01
00002676 1B40 A79A move.b [A5 - 0x5866], D0
label0000267A:
0000267A 3007 move.w D0, D7
0000267C 48C0 ext.l D0
0000267E D080 add.l D0, D0
00002680 41ED F6EE lea.l A0, [A5 - 0x912]
00002684 D1C0 add.l A0, D0
00002686 302D A796 move.w D0, [A5 - 0x586A]
0000268A C050 and.w D0, [A0]
0000268C 322E FFFC move.w D1, [A6 - 0x4]
00002690 E368 lsl D0.w, D1
00002692 8046 or.w D0, D6
00002694 3C00 move.w D6, D0
00002696 302D A796 move.w D0, [A5 - 0x586A]
0000269A EE68 lsr D0.w, D7
0000269C 3B40 A796 move.w [A5 - 0x586A], D0
000026A0 9F6D A798 sub.w [A5 - 0x5868], D7
000026A4 3006 move.w D0, D6
000026A6 4CDF 00C0 movem.l D7,D6, [A7]+
000026AA 4E5E unlink A6
000026AC 4E75 rts
000026AE 4649 not.w A1
000026B0 4C4C 4249 movem.l A6,A1,D6,D3,D0, A4
000026B4 5442 addq.w D2, 2
fn000026B6:
000026B6 3F2D A7C4 move.w -[A7], [A5 - 0x583C]
000026BA 2F2D A7B8 move.l -[A7], [A5 - 0x5848]
000026BE 4EBA D940 jsr [PC - 0x26C0 /* 00000000 */]
000026C2 5C8F addq.l A7, 6
000026C4 3F2D A7C4 move.w -[A7], [A5 - 0x583C]
000026C8 2F2D A7B8 move.l -[A7], [A5 - 0x5848]
000026CC 3F2D A7C6 move.w -[A7], [A5 - 0x583A]
000026D0 4EBA F9F2 jsr [PC - 0x60E /* 000020C4 */]
000026D4 508F addq.l A7, 8
000026D6 306D A7C4 movea.w A0, [A5 - 0x583C]
000026DA D1ED A7C0 add.l A0, [A5 - 0x5840]
000026DE 2B48 A7C0 move.l [A5 - 0x5840], A0
000026E2 426D A7C4 clr.w [A5 - 0x583C]
000026E6 2B6D A7B8 A7BC move.l [A5 - 0x5844], [A5 - 0x5848]
000026EC 4E75 rts
fn000026EE:
000026EE 4E56 FFFC link A6, -0x0004
000026F2 48E7 0300 movem.l -[A7], D6,D7
000026F6 3E3C 00FF move.w D7, 0xFF
000026FA 6000 00AC bra +0xAE /* 000027A8 */
label000026FE:
000026FE 0C6D 0006 A798 cmpi.w [A5 - 0x5868], 0x6
00002704 6D20 blt +0x22 /* 00002726 */
00002706 41ED E9CA lea.l A0, [A5 - 0x1636]
0000270A D0C7 add.w A0, D7
0000270C 302D A796 move.w D0, [A5 - 0x586A]
00002710 C06D F6FA and.w D0, [A5 - 0x906]
00002714 1080 move.b [A0], D0
00002716 302D A796 move.w D0, [A5 - 0x586A]
0000271A EC48 lsr D0.w, 6
0000271C 3B40 A796 move.w [A5 - 0x586A], D0
00002720 5D6D A798 subq.w [A5 - 0x5868], 6
00002724 601A bra +0x1C /* 00002740 */
label00002726:
00002726 41ED E9CA lea.l A0, [A5 - 0x1636]
0000272A D0C7 add.w A0, D7
0000272C 3F3C 0006 move.w -[A7], 0x6
00002730 2D48 FFFC move.l [A6 - 0x4], A0
00002734 4EBA FEF8 jsr [PC - 0x108 /* 0000262E */]
00002738 548F addq.l A7, 2
0000273A 206E FFFC movea.l A0, [A6 - 0x4]
0000273E 1080 move.b [A0], D0
label00002740:
00002740 7C00 moveq.l D6, 0x00
00002742 6054 bra +0x56 /* 00002798 */
label00002744:
00002744 0C6D 0008 A798 cmpi.w [A5 - 0x5868], 0x8
0000274A 6D28 blt +0x2A /* 00002774 */
0000274C 3007 move.w D0, D7
0000274E 48C0 ext.l D0
00002750 ED80 asl D0, 6
00002752 41ED A9CA lea.l A0, [A5 - 0x5636]
00002756 D1C0 add.l A0, D0
00002758 D0C6 add.w A0, D6
0000275A 302D A796 move.w D0, [A5 - 0x586A]
0000275E C06D F6FE and.w D0, [A5 - 0x902]
00002762 1080 move.b [A0], D0
00002764 302D A796 move.w D0, [A5 - 0x586A]
00002768 E048 lsr D0.w, 8
0000276A 3B40 A796 move.w [A5 - 0x586A], D0
0000276E 516D A798 subq.w [A5 - 0x5868], 8
00002772 6022 bra +0x24 /* 00002796 */
label00002774:
00002774 3007 move.w D0, D7
00002776 48C0 ext.l D0
00002778 ED80 asl D0, 6
0000277A 41ED A9CA lea.l A0, [A5 - 0x5636]
0000277E D1C0 add.l A0, D0
00002780 D0C6 add.w A0, D6
00002782 3F3C 0008 move.w -[A7], 0x8
00002786 2D48 FFFC move.l [A6 - 0x4], A0
0000278A 4EBA FEA2 jsr [PC - 0x15E /* 0000262E */]
0000278E 548F addq.l A7, 2
00002790 206E FFFC movea.l A0, [A6 - 0x4]
00002794 1080 move.b [A0], D0
label00002796:
00002796 5246 addq.w D6, 1
label00002798:
00002798 41ED E9CA lea.l A0, [A5 - 0x1636]
0000279C D0C7 add.w A0, D7
0000279E 7000 moveq.l D0, 0x00
000027A0 1010 move.b D0, [A0]
000027A2 BC40 cmp.w D6, D0
000027A4 659E bcs -0x60 /* 00002744 */
000027A6 5347 subq.w D7, 1
label000027A8:
000027A8 4A47 tst.w D7
000027AA 6C00 FF52 bge -0xAC /* 000026FE */
000027AE 4CDF 00C0 movem.l D7,D6, [A7]+
000027B2 4E5E unlink A6
000027B4 4E75 rts
000027B6 4C4F 4144 movem.l A6,A0,D6,D2, A7
000027BA 464F not.w A7
000027BC 4C4C 4E56 movem.l A6,A3,A2,A1,D6,D4,D2,D1, A4
// begin alternate branch 000027BE-000027C2
fn000027BE:
000027BE 4E56 FFF0 link A6, -0x0010
// end alternate branch 000027BE-000027C2
fn000027BE: // (misaligned)
000027C0 FFF0 .extension 0xFF0 // unimplemented
000027C2 48E7 0F00 movem.l -[A7], D4,D5,D6,D7
000027C6 302D A7A2 move.w D0, [A5 - 0x585E]
000027CA 5340 subq.w D0, 1
000027CC 3B40 A9C8 move.w [A5 - 0x5638], D0
000027D0 426E FFFE clr.w [A6 - 0x2]
000027D4 7E00 moveq.l D7, 0x00
000027D6 4EBA FF16 jsr [PC - 0xEA /* 000026EE */]
000027DA 6000 02FA bra +0x2FC /* 00002AD6 */
label000027DE:
000027DE 41ED E9CA lea.l A0, [A5 - 0x1636]
000027E2 D0C7 add.w A0, D7
000027E4 7000 moveq.l D0, 0x00
000027E6 1010 move.b D0, [A0]
000027E8 4A40 tst.w D0
000027EA 6634 bne +0x36 /* 00002820 */
000027EC 0C6D 0008 A798 cmpi.w [A5 - 0x5868], 0x8
000027F2 6D1C blt +0x1E /* 00002810 */
000027F4 302D A796 move.w D0, [A5 - 0x586A]
000027F8 C06D F6FE and.w D0, [A5 - 0x902]
000027FC 3C00 move.w D6, D0
000027FE 302D A796 move.w D0, [A5 - 0x586A]
00002802 E048 lsr D0.w, 8
00002804 3B40 A796 move.w [A5 - 0x586A], D0
00002808 516D A798 subq.w [A5 - 0x5868], 8
0000280C 6000 00EC bra +0xEE /* 000028FA */
label00002810:
00002810 3F3C 0008 move.w -[A7], 0x8
00002814 4EBA FE18 jsr [PC - 0x1E8 /* 0000262E */]
00002818 548F addq.l A7, 2
0000281A 3C00 move.w D6, D0
0000281C 6000 00DC bra +0xDE /* 000028FA */
label00002820:
00002820 0C6D 0001 A798 cmpi.w [A5 - 0x5868], 0x1
00002826 6D14 blt +0x16 /* 0000283C */
00002828 302D A796 move.w D0, [A5 - 0x586A]
0000282C C06D F6F0 and.w D0, [A5 - 0x910]
00002830 3C00 move.w D6, D0
00002832 E2ED A796 lsr .w [A5 - 0x586A]
00002836 536D A798 subq.w [A5 - 0x5868], 1
0000283A 600C bra +0xE /* 00002848 */
label0000283C:
0000283C 3F3C 0001 move.w -[A7], 0x1
00002840 4EBA FDEC jsr [PC - 0x214 /* 0000262E */]
00002844 548F addq.l A7, 2
00002846 3C00 move.w D6, D0
label00002848:
00002848 4A46 tst.w D6
0000284A 6734 beq +0x36 /* 00002880 */
0000284C 0C6D 0008 A798 cmpi.w [A5 - 0x5868], 0x8
00002852 6D1C blt +0x1E /* 00002870 */
00002854 302D A796 move.w D0, [A5 - 0x586A]
00002858 C06D F6FE and.w D0, [A5 - 0x902]
0000285C 3C00 move.w D6, D0
0000285E 302D A796 move.w D0, [A5 - 0x586A]
00002862 E048 lsr D0.w, 8
00002864 3B40 A796 move.w [A5 - 0x586A], D0
00002868 516D A798 subq.w [A5 - 0x5868], 8
0000286C 6000 008C bra +0x8E /* 000028FA */
label00002870:
00002870 3F3C 0008 move.w -[A7], 0x8
00002874 4EBA FDB8 jsr [PC - 0x248 /* 0000262E */]
00002878 548F addq.l A7, 2
0000287A 3C00 move.w D6, D0
0000287C 6000 007C bra +0x7E /* 000028FA */
label00002880:
00002880 41ED E9CA lea.l A0, [A5 - 0x1636]
00002884 D0C7 add.w A0, D7
00002886 7000 moveq.l D0, 0x00
00002888 1010 move.b D0, [A0]
0000288A 4840 swap.w D0
0000288C 4240 clr.w D0
0000288E 4840 swap.w D0
00002890 D080 add.l D0, D0
00002892 41ED F732 lea.l A0, [A5 - 0x8CE]
00002896 D1C0 add.l A0, D0
00002898 3D50 FFF0 move.w [A6 - 0x10], [A0]
0000289C 302E FFF0 move.w D0, [A6 - 0x10]
000028A0 B06D A798 cmp.w D0, [A5 - 0x5868]
000028A4 6E30 bgt +0x32 /* 000028D6 */
000028A6 302E FFF0 move.w D0, [A6 - 0x10]
000028AA 48C0 ext.l D0
000028AC D080 add.l D0, D0
000028AE 41ED F6EE lea.l A0, [A5 - 0x912]
000028B2 D1C0 add.l A0, D0
000028B4 302D A796 move.w D0, [A5 - 0x586A]
000028B8 C050 and.w D0, [A0]
000028BA 3D40 FFF2 move.w [A6 - 0xE], D0
000028BE 302D A796 move.w D0, [A5 - 0x586A]
000028C2 322E FFF0 move.w D1, [A6 - 0x10]
000028C6 E268 lsr D0.w, D1
000028C8 3B40 A796 move.w [A5 - 0x586A], D0
000028CC 302E FFF0 move.w D0, [A6 - 0x10]
000028D0 916D A798 sub.w [A5 - 0x5868], D0
000028D4 600E bra +0x10 /* 000028E4 */
label000028D6:
000028D6 3F2E FFF0 move.w -[A7], [A6 - 0x10]
000028DA 4EBA FD52 jsr [PC - 0x2AE /* 0000262E */]
000028DE 548F addq.l A7, 2
000028E0 3D40 FFF2 move.w [A6 - 0xE], D0
label000028E4:
000028E4 3007 move.w D0, D7
000028E6 48C0 ext.l D0
000028E8 ED80 asl D0, 6
000028EA 41ED A9CA lea.l A0, [A5 - 0x5636]
000028EE D1C0 add.l A0, D0
000028F0 D0EE FFF2 add.w A0, [A6 - 0xE]
000028F4 7000 moveq.l D0, 0x00
000028F6 1010 move.b D0, [A0]
000028F8 3C00 move.w D6, D0
label000028FA:
000028FA 302E FFFE move.w D0, [A6 - 0x2]
000028FE 4EAD 003A jsr [A5 + 0x3A]
00002902 0000 0003 ori.b D0, 0x3
00002906 01CE bset A6, D0
00002908 0008 0038 ori.b A0, 0x38 /* '8' */
0000290C 009C 00A6 0C46 ori.l [A4]+, 0xA60C46
00002912 0090 6722 206D ori.l [A0], 0x6722206D /* 'g" m' */
00002918 A7BC trap vLaunchInit, flags=7
0000291A 52AD A7BC addq.l [A5 - 0x5844], 1
0000291E 1086 move.b [A0], D6
00002920 526D A7C4 addq.w [A5 - 0x583C], 1
00002924 302D A7C4 move.w D0, [A5 - 0x583C]
00002928 B06D A78A cmp.w D0, [A5 - 0x5876]
0000292C 6600 01A6 bne +0x1A8 /* 00002AD4 */
00002930 4EBA FD84 jsr [PC - 0x27C /* 000026B6 */]
00002934 6000 019E bra +0x1A0 /* 00002AD4 */
00002938 7001 moveq.l D0, 0x01
0000293A 3D40 FFFE move.w [A6 - 0x2], D0
0000293E 6000 0194 bra +0x196 /* 00002AD4 */
00002942 4A46 tst.w D6
00002944 673C beq +0x3E /* 00002982 */
00002946 3A06 move.w D5, D6
00002948 302D A9C8 move.w D0, [A5 - 0x5638]
0000294C 48C0 ext.l D0
0000294E D080 add.l D0, D0
00002950 41ED F714 lea.l A0, [A5 - 0x8EC]
00002954 D1C0 add.l A0, D0
00002956 3010 move.w D0, [A0]
00002958 C045 and.w D0, D5
0000295A 3800 move.w D4, D0
0000295C 302D A9C8 move.w D0, [A5 - 0x5638]
00002960 48C0 ext.l D0
00002962 D080 add.l D0, D0
00002964 41ED F714 lea.l A0, [A5 - 0x8EC]
00002968 D1C0 add.l A0, D0
0000296A B850 cmp.w D4, [A0]
0000296C 660A bne +0xC /* 00002978 */
0000296E 7002 moveq.l D0, 0x02
00002970 3D40 FFFE move.w [A6 - 0x2], D0
00002974 6000 015E bra +0x160 /* 00002AD4 */
label00002978:
00002978 7003 moveq.l D0, 0x03
0000297A 3D40 FFFE move.w [A6 - 0x2], D0
0000297E 6000 0154 bra +0x156 /* 00002AD4 */
label00002982:
00002982 206D A7BC movea.l A0, [A5 - 0x5844]
00002986 52AD A7BC addq.l [A5 - 0x5844], 1
0000298A 7090 moveq.l D0, 0xFFFFFF90
0000298C 1080 move.b [A0], D0
0000298E 526D A7C4 addq.w [A5 - 0x583C], 1
00002992 302D A7C4 move.w D0, [A5 - 0x583C]
00002996 B06D A78A cmp.w D0, [A5 - 0x5876]
0000299A 6604 bne +0x6 /* 000029A0 */
0000299C 4EBA FD18 jsr [PC - 0x2E8 /* 000026B6 */]
label000029A0:
000029A0 426E FFFE clr.w [A6 - 0x2]
000029A4 6000 012E bra +0x130 /* 00002AD4 */
000029A8 D846 add.w D4, D6
000029AA 7003 moveq.l D0, 0x03
000029AC 3D40 FFFE move.w [A6 - 0x2], D0
000029B0 6000 0122 bra +0x124 /* 00002AD4 */
000029B4 3004 move.w D0, D4
000029B6 5640 addq.w D0, 3
000029B8 3D40 FFFA move.w [A6 - 0x6], D0
000029BC 302D A9C8 move.w D0, [A5 - 0x5638]
000029C0 48C0 ext.l D0
000029C2 D080 add.l D0, D0
000029C4 41ED F71E lea.l A0, [A5 - 0x8E2]
000029C8 D1C0 add.l A0, D0
000029CA 3005 move.w D0, D5
000029CC 3210 move.w D1, [A0]
000029CE E260 asr D0.w, D1
000029D0 322D A9C8 move.w D1, [A5 - 0x5638]
000029D4 48C1 ext.l D1
000029D6 D281 add.l D1, D1
000029D8 41ED F728 lea.l A0, [A5 - 0x8D8]
000029DC D1C1 add.l A0, D1
000029DE C050 and.w D0, [A0]
000029E0 E148 lsl D0.w, 8
000029E2 D046 add.w D0, D6
000029E4 5240 addq.w D0, 1
000029E6 3D40 FFF8 move.w [A6 - 0x8], D0
000029EA 306D A7C4 movea.w A0, [A5 - 0x583C]
000029EE D1ED A7C0 add.l A0, [A5 - 0x5840]
000029F2 90EE FFF8 sub.w A0, [A6 - 0x8]
000029F6 2D48 FFF4 move.l [A6 - 0xC], A0
000029FA 6024 bra +0x26 /* 00002A20 */
label000029FC:
000029FC 206D A7BC movea.l A0, [A5 - 0x5844]
00002A00 52AD A7BC addq.l [A5 - 0x5844], 1
00002A04 4210 clr.b [A0]
00002A06 526D A7C4 addq.w [A5 - 0x583C], 1
00002A0A 302D A7C4 move.w D0, [A5 - 0x583C]
00002A0E B06D A78A cmp.w D0, [A5 - 0x5876]
00002A12 6604 bne +0x6 /* 00002A18 */
00002A14 4EBA FCA0 jsr [PC - 0x360 /* 000026B6 */]
label00002A18:
00002A18 52AE FFF4 addq.l [A6 - 0xC], 1
00002A1C 536E FFFA subq.w [A6 - 0x6], 1
label00002A20:
00002A20 4AAE FFF4 tst.l [A6 - 0xC]
00002A24 6C06 bge +0x8 /* 00002A2C */
00002A26 4A6E FFFA tst.w [A6 - 0x6]
00002A2A 6ED0 bgt -0x2E /* 000029FC */
label00002A2C:
00002A2C 7000 moveq.l D0, 0x00
00002A2E 302D A78A move.w D0, [A5 - 0x5876]
00002A32 2F00 move.l -[A7], D0
00002A34 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00002A38 4EAD 0052 jsr [A5 + 0x52]
00002A3C 3D40 FFFC move.w [A6 - 0x4], D0
00002A40 302E FFFC move.w D0, [A6 - 0x4]
00002A44 D06E FFFA add.w D0, [A6 - 0x6]
00002A48 B06D A78A cmp.w D0, [A5 - 0x5876]
00002A4C 6400 0076 bcc +0x78 /* 00002AC4 */
00002A50 302D A7C4 move.w D0, [A5 - 0x583C]
00002A54 D06E FFFA add.w D0, [A6 - 0x6]
00002A58 B06D A78A cmp.w D0, [A5 - 0x5876]
00002A5C 6400 0066 bcc +0x68 /* 00002AC4 */
00002A60 306E FFFC movea.w A0, [A6 - 0x4]
00002A64 D1ED A7B8 add.l A0, [A5 - 0x5848]
00002A68 3F2E FFFA move.w -[A7], [A6 - 0x6]
00002A6C 4850 pea.l [A0]
00002A6E 2F2D A7BC move.l -[A7], [A5 - 0x5844]
00002A72 4EBA 04B4 jsr [PC + 0x4B4 /* 00002F28 */]
00002A76 4FEF 000A lea.l A7, [A7 + 0xA]
00002A7A 302E FFFA move.w D0, [A6 - 0x6]
00002A7E 48C0 ext.l D0
00002A80 D1AD A7BC add.l [A5 - 0x5844], D0
00002A84 302E FFFA move.w D0, [A6 - 0x6]
00002A88 D16D A7C4 add.w [A5 - 0x583C], D0
00002A8C 6042 bra +0x44 /* 00002AD0 */
label00002A8E:
00002A8E 206D A7BC movea.l A0, [A5 - 0x5844]
00002A92 52AD A7BC addq.l [A5 - 0x5844], 1
00002A96 326E FFFC movea.w A1, [A6 - 0x4]
00002A9A D3ED A7B8 add.l A1, [A5 - 0x5848]
00002A9E 1091 move.b [A0], [A1]
00002AA0 526D A7C4 addq.w [A5 - 0x583C], 1
00002AA4 302D A7C4 move.w D0, [A5 - 0x583C]
00002AA8 B06D A78A cmp.w D0, [A5 - 0x5876]
00002AAC 6604 bne +0x6 /* 00002AB2 */
00002AAE 4EBA FC06 jsr [PC - 0x3FA /* 000026B6 */]
label00002AB2:
00002AB2 526E FFFC addq.w [A6 - 0x4], 1
00002AB6 302E FFFC move.w D0, [A6 - 0x4]
00002ABA B06D A78A cmp.w D0, [A5 - 0x5876]
00002ABE 6504 bcs +0x6 /* 00002AC4 */
00002AC0 426E FFFC clr.w [A6 - 0x4]
label00002AC4:
00002AC4 302E FFFA move.w D0, [A6 - 0x6]
00002AC8 536E FFFA subq.w [A6 - 0x6], 1
00002ACC 4A40 tst.w D0
00002ACE 66BE bne -0x40 /* 00002A8E */
label00002AD0:
00002AD0 426E FFFE clr.w [A6 - 0x2]
label00002AD4:
00002AD4 3E06 move.w D7, D6
label00002AD6:
00002AD6 306D A7C4 movea.w A0, [A5 - 0x583C]
00002ADA D1ED A7C0 add.l A0, [A5 - 0x5840]
00002ADE B1ED A7B0 cmpa.l A0, [A5 - 0x5850]
00002AE2 6C08 bge +0xA /* 00002AEC */
00002AE4 4A2D A79A tst.b [A5 - 0x5866]
00002AE8 6700 FCF4 beq -0x30A /* 000027DE */
label00002AEC:
00002AEC 4CDF 00F0 movem.l D7,D6,D5,D4, [A7]+
00002AF0 4E5E unlink A6
00002AF2 4E75 rts
00002AF4 554E subq.w A6, 2
00002AF6 5245 addq.w D5, 1
00002AF8 4455 neg.w [A5]
00002AFA 4345 chk.w D1, D5
fn00002AFC:
00002AFC 48E7 0300 movem.l -[A7], D6,D7
00002B00 3C3C 0101 move.w D6, 0x101
00002B04 6012 bra +0x14 /* 00002B18 */
label00002B06:
00002B06 3006 move.w D0, D6
00002B08 48C0 ext.l D0
00002B0A D080 add.l D0, D0
00002B0C D0AD EACA add.l D0, [A5 - 0x1536]
00002B10 2040 movea.l A0, D0
00002B12 08D0 0007 bset.b [A0], 0x7
00002B16 5246 addq.w D6, 1
label00002B18:
00002B18 BC6D EADA cmp.w D6, [A5 - 0x1526]
00002B1C 6DE8 blt -0x16 /* 00002B06 */
00002B1E 3C3C 0101 move.w D6, 0x101
00002B22 602C bra +0x2E /* 00002B50 */
label00002B24:
00002B24 3006 move.w D0, D6
00002B26 48C0 ext.l D0
00002B28 D080 add.l D0, D0
00002B2A D0AD EACA add.l D0, [A5 - 0x1536]
00002B2E 2040 movea.l A0, D0
00002B30 303C 7FFF move.w D0, 0x7FFF
00002B34 C050 and.w D0, [A0]
00002B36 3E00 move.w D7, D0
00002B38 0C47 0101 cmpi.w D7, 0x101
00002B3C 6D10 blt +0x12 /* 00002B4E */
00002B3E 3007 move.w D0, D7
00002B40 48C0 ext.l D0
00002B42 D080 add.l D0, D0
00002B44 D0AD EACA add.l D0, [A5 - 0x1536]
00002B48 2040 movea.l A0, D0
00002B4A 0250 7FFF andi.w [A0], 0x7FFF
label00002B4E:
00002B4E 5246 addq.w D6, 1
label00002B50:
00002B50 BC6D EADA cmp.w D6, [A5 - 0x1526]
00002B54 6DCE blt -0x30 /* 00002B24 */
00002B56 3C3C 0101 move.w D6, 0x101
00002B5A 6028 bra +0x2A /* 00002B84 */
label00002B5C:
00002B5C 3006 move.w D0, D6
00002B5E 48C0 ext.l D0
00002B60 D080 add.l D0, D0
00002B62 D0AD EACA add.l D0, [A5 - 0x1536]
00002B66 2040 movea.l A0, D0
00002B68 303C 8000 move.w D0, 0x8000
00002B6C C050 and.w D0, [A0]
00002B6E 4A40 tst.w D0
00002B70 6710 beq +0x12 /* 00002B82 */
00002B72 3006 move.w D0, D6
00002B74 48C0 ext.l D0
00002B76 D080 add.l D0, D0
00002B78 D0AD EACA add.l D0, [A5 - 0x1536]
00002B7C 2040 movea.l A0, D0
00002B7E 70FF moveq.l D0, 0xFFFFFFFF
00002B80 3080 move.w [A0], D0
label00002B82:
00002B82 5246 addq.w D6, 1
label00002B84:
00002B84 BC6D EADA cmp.w D6, [A5 - 0x1526]
00002B88 6DD2 blt -0x2C /* 00002B5C */
00002B8A 3C3C 0101 move.w D6, 0x101
00002B8E 6002 bra +0x4 /* 00002B92 */
label00002B90:
00002B90 5246 addq.w D6, 1
label00002B92:
00002B92 BC6D EADC cmp.w D6, [A5 - 0x1524]
00002B96 6C12 bge +0x14 /* 00002BAA */
00002B98 3006 move.w D0, D6
00002B9A 48C0 ext.l D0
00002B9C D080 add.l D0, D0
00002B9E D0AD EACA add.l D0, [A5 - 0x1536]
00002BA2 2040 movea.l A0, D0
00002BA4 0C50 FFFF cmpi.w [A0], 0xFFFF
00002BA8 66E6 bne -0x18 /* 00002B90 */
label00002BAA:
00002BAA 3B46 EADA move.w [A5 - 0x1526], D6
00002BAE 4CDF 00C0 movem.l D7,D6, [A7]+
00002BB2 4E75 rts
fn00002BB4:
00002BB4 4E56 FFFA link A6, -0x0006
00002BB8 48E7 0300 movem.l -[A7], D6,D7
00002BBC 3B7C 2000 EADC move.w [A5 - 0x1524], 0x2000 /* ' \0' */
00002BC2 7009 moveq.l D0, 0x09
00002BC4 3B40 EAD6 move.w [A5 - 0x152A], D0
00002BC8 7001 moveq.l D0, 0x01
00002BCA 322D EAD6 move.w D1, [A5 - 0x152A]
00002BCE E368 lsl D0.w, D1
00002BD0 5340 subq.w D0, 1
00002BD2 3B40 EAD8 move.w [A5 - 0x1528], D0
00002BD6 3B7C 0101 EADA move.w [A5 - 0x1526], 0x101
00002BDC 426D EADE clr.w [A5 - 0x1522]
00002BE0 426D EAE0 clr.w [A5 - 0x1520]
00002BE4 3E2D EADC move.w D7, [A5 - 0x1524]
00002BE8 6012 bra +0x14 /* 00002BFC */
label00002BEA:
00002BEA 3007 move.w D0, D7
00002BEC 48C0 ext.l D0
00002BEE D080 add.l D0, D0
00002BF0 D0AD EACA add.l D0, [A5 - 0x1536]
00002BF4 2040 movea.l A0, D0
00002BF6 70FF moveq.l D0, 0xFFFFFFFF
00002BF8 3080 move.w [A0], D0
00002BFA 5347 subq.w D7, 1
label00002BFC:
00002BFC 0C47 00FF cmpi.w D7, 0xFF
00002C00 6EE8 bgt -0x16 /* 00002BEA */
00002C02 3E3C 00FF move.w D7, 0xFF
00002C06 6018 bra +0x1A /* 00002C20 */
label00002C08:
00002C08 3007 move.w D0, D7
00002C0A 48C0 ext.l D0
00002C0C D080 add.l D0, D0
00002C0E D0AD EACA add.l D0, [A5 - 0x1536]
00002C12 2040 movea.l A0, D0
00002C14 4250 clr.w [A0]
00002C16 3047 movea.w A0, D7
00002C18 D1ED EACE add.l A0, [A5 - 0x1532]
00002C1C 1087 move.b [A0], D7
00002C1E 5347 subq.w D7, 1
label00002C20:
00002C20 4A47 tst.w D7
00002C22 6CE4 bge -0x1A /* 00002C08 */
00002C24 302D EAD6 move.w D0, [A5 - 0x152A]
00002C28 B06D A798 cmp.w D0, [A5 - 0x5868]
00002C2C 6E30 bgt +0x32 /* 00002C5E */
00002C2E 302D EAD6 move.w D0, [A5 - 0x152A]
00002C32 48C0 ext.l D0
00002C34 D080 add.l D0, D0
00002C36 41ED F6EE lea.l A0, [A5 - 0x912]
00002C3A D1C0 add.l A0, D0
00002C3C 302D A796 move.w D0, [A5 - 0x586A]
00002C40 C050 and.w D0, [A0]
00002C42 3D40 FFFC move.w [A6 - 0x4], D0
00002C46 302D A796 move.w D0, [A5 - 0x586A]
00002C4A 322D EAD6 move.w D1, [A5 - 0x152A]
00002C4E E268 lsr D0.w, D1
00002C50 3B40 A796 move.w [A5 - 0x586A], D0
00002C54 302D EAD6 move.w D0, [A5 - 0x152A]
00002C58 916D A798 sub.w [A5 - 0x5868], D0
00002C5C 600E bra +0x10 /* 00002C6C */
label00002C5E:
00002C5E 3F2D EAD6 move.w -[A7], [A5 - 0x152A]
00002C62 4EBA F9CA jsr [PC - 0x636 /* 0000262E */]
00002C66 548F addq.l A7, 2
00002C68 3D40 FFFC move.w [A6 - 0x4], D0
label00002C6C:
00002C6C 4A2D A79A tst.b [A5 - 0x5866]
00002C70 6600 027A bne +0x27C /* 00002EEC */
00002C74 3D6E FFFC FFFE move.w [A6 - 0x2], [A6 - 0x4]
00002C7A 206D A7BC movea.l A0, [A5 - 0x5844]
00002C7E 52AD A7BC addq.l [A5 - 0x5844], 1
00002C82 10AE FFFF move.b [A0], [A6 - 0x1]
00002C86 526D A7C4 addq.w [A5 - 0x583C], 1
00002C8A 302D A7C4 move.w D0, [A5 - 0x583C]
00002C8E B06D A78A cmp.w D0, [A5 - 0x5876]
00002C92 6604 bne +0x6 /* 00002C98 */
00002C94 4EBA FA20 jsr [PC - 0x5E0 /* 000026B6 */]
label00002C98:
00002C98 3C3C 2000 move.w D6, 0x2000 /* ' \0' */
00002C9C 6000 0246 bra +0x248 /* 00002EE4 */
label00002CA0:
00002CA0 302D EAD6 move.w D0, [A5 - 0x152A]
00002CA4 B06D A798 cmp.w D0, [A5 - 0x5868]
00002CA8 6E2E bgt +0x30 /* 00002CD8 */
00002CAA 302D EAD6 move.w D0, [A5 - 0x152A]
00002CAE 48C0 ext.l D0
00002CB0 D080 add.l D0, D0
00002CB2 41ED F6EE lea.l A0, [A5 - 0x912]
00002CB6 D1C0 add.l A0, D0
00002CB8 302D A796 move.w D0, [A5 - 0x586A]
00002CBC C050 and.w D0, [A0]
00002CBE 3E00 move.w D7, D0
00002CC0 302D A796 move.w D0, [A5 - 0x586A]
00002CC4 322D EAD6 move.w D1, [A5 - 0x152A]
00002CC8 E268 lsr D0.w, D1
00002CCA 3B40 A796 move.w [A5 - 0x586A], D0
00002CCE 302D EAD6 move.w D0, [A5 - 0x152A]
00002CD2 916D A798 sub.w [A5 - 0x5868], D0
00002CD6 600C bra +0xE /* 00002CE4 */
label00002CD8:
00002CD8 3F2D EAD6 move.w -[A7], [A5 - 0x152A]
00002CDC 4EBA F950 jsr [PC - 0x6B0 /* 0000262E */]
00002CE0 548F addq.l A7, 2
00002CE2 3E00 move.w D7, D0
label00002CE4:
00002CE4 4A2D A79A tst.b [A5 - 0x5866]
00002CE8 6600 0202 bne +0x204 /* 00002EEC */
00002CEC 6000 00CA bra +0xCC /* 00002DB8 */
label00002CF0:
00002CF0 302D EAD6 move.w D0, [A5 - 0x152A]
00002CF4 B06D A798 cmp.w D0, [A5 - 0x5868]
00002CF8 6E2E bgt +0x30 /* 00002D28 */
00002CFA 302D EAD6 move.w D0, [A5 - 0x152A]
00002CFE 48C0 ext.l D0
00002D00 D080 add.l D0, D0
00002D02 41ED F6EE lea.l A0, [A5 - 0x912]
00002D06 D1C0 add.l A0, D0
00002D08 302D A796 move.w D0, [A5 - 0x586A]
00002D0C C050 and.w D0, [A0]
00002D0E 3E00 move.w D7, D0
00002D10 302D A796 move.w D0, [A5 - 0x586A]
00002D14 322D EAD6 move.w D1, [A5 - 0x152A]
00002D18 E268 lsr D0.w, D1
00002D1A 3B40 A796 move.w [A5 - 0x586A], D0
00002D1E 302D EAD6 move.w D0, [A5 - 0x152A]
00002D22 916D A798 sub.w [A5 - 0x5868], D0
00002D26 600C bra +0xE /* 00002D34 */
label00002D28:
00002D28 3F2D EAD6 move.w -[A7], [A5 - 0x152A]
00002D2C 4EBA F900 jsr [PC - 0x700 /* 0000262E */]
00002D30 548F addq.l A7, 2
00002D32 3E00 move.w D7, D0
label00002D34:
00002D34 3007 move.w D0, D7
00002D36 4EAD 003A jsr [A5 + 0x3A]
00002D3A 0001 0002 ori.b D1, 0x2
00002D3E 002E 0004 0026 ori.b [A6 + 0x26], 0x4
00002D44 526D EAD6 addq.w [A5 - 0x152A], 1
00002D48 0C6D 000D EAD6 cmpi.w [A5 - 0x152A], 0xD /* '\r' */
00002D4E 6608 bne +0xA /* 00002D58 */
00002D50 3B6D EADC EAD8 move.w [A5 - 0x1528], [A5 - 0x1524]
00002D56 6014 bra +0x16 /* 00002D6C */
label00002D58:
00002D58 7001 moveq.l D0, 0x01
00002D5A 322D EAD6 move.w D1, [A5 - 0x152A]
00002D5E E368 lsl D0.w, D1
00002D60 5340 subq.w D0, 1
00002D62 3B40 EAD8 move.w [A5 - 0x1528], D0
00002D66 6004 bra +0x6 /* 00002D6C */
00002D68 4EBA FD92 jsr [PC - 0x26E /* 00002AFC */]
label00002D6C:
00002D6C 302D EAD6 move.w D0, [A5 - 0x152A]
00002D70 B06D A798 cmp.w D0, [A5 - 0x5868]
00002D74 6E2E bgt +0x30 /* 00002DA4 */
00002D76 302D EAD6 move.w D0, [A5 - 0x152A]
00002D7A 48C0 ext.l D0
00002D7C D080 add.l D0, D0
00002D7E 41ED F6EE lea.l A0, [A5 - 0x912]
00002D82 D1C0 add.l A0, D0
00002D84 302D A796 move.w D0, [A5 - 0x586A]
00002D88 C050 and.w D0, [A0]
00002D8A 3E00 move.w D7, D0
00002D8C 302D A796 move.w D0, [A5 - 0x586A]
00002D90 322D EAD6 move.w D1, [A5 - 0x152A]
00002D94 E268 lsr D0.w, D1
00002D96 3B40 A796 move.w [A5 - 0x586A], D0
00002D9A 302D EAD6 move.w D0, [A5 - 0x152A]
00002D9E 916D A798 sub.w [A5 - 0x5868], D0
00002DA2 600C bra +0xE /* 00002DB0 */
label00002DA4:
00002DA4 3F2D EAD6 move.w -[A7], [A5 - 0x152A]
00002DA8 4EBA F884 jsr [PC - 0x77C /* 0000262E */]
00002DAC 548F addq.l A7, 2
00002DAE 3E00 move.w D7, D0
label00002DB0:
00002DB0 4A2D A79A tst.b [A5 - 0x5866]
00002DB4 6600 0136 bne +0x138 /* 00002EEC */
label00002DB8:
00002DB8 0C47 0100 cmpi.w D7, 0x100
00002DBC 6700 FF32 beq -0xCC /* 00002CF0 */
00002DC0 3D47 FFFA move.w [A6 - 0x6], D7
00002DC4 3007 move.w D0, D7
00002DC6 48C0 ext.l D0
00002DC8 D080 add.l D0, D0
00002DCA D0AD EACA add.l D0, [A5 - 0x1536]
00002DCE 2040 movea.l A0, D0
00002DD0 0C50 FFFF cmpi.w [A0], 0xFFFF
00002DD4 6630 bne +0x32 /* 00002E06 */
00002DD6 5346 subq.w D6, 1
00002DD8 3046 movea.w A0, D6
00002DDA D1ED EAD2 add.l A0, [A5 - 0x152E]
00002DDE 10AE FFFF move.b [A0], [A6 - 0x1]
00002DE2 3E2E FFFC move.w D7, [A6 - 0x4]
00002DE6 601E bra +0x20 /* 00002E06 */
label00002DE8:
00002DE8 5346 subq.w D6, 1
00002DEA 3046 movea.w A0, D6
00002DEC D1ED EAD2 add.l A0, [A5 - 0x152E]
00002DF0 3247 movea.w A1, D7
00002DF2 D3ED EACE add.l A1, [A5 - 0x1532]
00002DF6 1091 move.b [A0], [A1]
00002DF8 3007 move.w D0, D7
00002DFA 48C0 ext.l D0
00002DFC D080 add.l D0, D0
00002DFE D0AD EACA add.l D0, [A5 - 0x1536]
00002E02 2040 movea.l A0, D0
00002E04 3E10 move.w D7, [A0]
label00002E06:
00002E06 0C47 0101 cmpi.w D7, 0x101
00002E0A 6CDC bge -0x22 /* 00002DE8 */
00002E0C 3047 movea.w A0, D7
00002E0E D1ED EACE add.l A0, [A5 - 0x1532]
00002E12 7000 moveq.l D0, 0x00
00002E14 1010 move.b D0, [A0]
00002E16 3D40 FFFE move.w [A6 - 0x2], D0
00002E1A 5346 subq.w D6, 1
00002E1C 3046 movea.w A0, D6
00002E1E D1ED EAD2 add.l A0, [A5 - 0x152E]
00002E22 10AE FFFF move.b [A0], [A6 - 0x1]
00002E26 303C 2000 move.w D0, 0x2000 /* ' \0' */
00002E2A 9046 sub.w D0, D6
00002E2C D06D A7C4 add.w D0, [A5 - 0x583C]
00002E30 B06D A78A cmp.w D0, [A5 - 0x5876]
00002E34 6460 bcc +0x62 /* 00002E96 */
00002E36 3046 movea.w A0, D6
00002E38 D1ED EAD2 add.l A0, [A5 - 0x152E]
00002E3C 303C 2000 move.w D0, 0x2000 /* ' \0' */
00002E40 9046 sub.w D0, D6
00002E42 3F00 move.w -[A7], D0
00002E44 4850 pea.l [A0]
00002E46 2F2D A7BC move.l -[A7], [A5 - 0x5844]
00002E4A 4EBA 00DC jsr [PC + 0xDC /* 00002F28 */]
00002E4E 4FEF 000A lea.l A7, [A7 + 0xA]
00002E52 303C 2000 move.w D0, 0x2000 /* ' \0' */
00002E56 9046 sub.w D0, D6
00002E58 48C0 ext.l D0
00002E5A D1AD A7BC add.l [A5 - 0x5844], D0
00002E5E 303C 2000 move.w D0, 0x2000 /* ' \0' */
00002E62 9046 sub.w D0, D6
00002E64 D16D A7C4 add.w [A5 - 0x583C], D0
00002E68 3C3C 2000 move.w D6, 0x2000 /* ' \0' */
00002E6C 602E bra +0x30 /* 00002E9C */
label00002E6E:
00002E6E 206D A7BC movea.l A0, [A5 - 0x5844]
00002E72 52AD A7BC addq.l [A5 - 0x5844], 1
00002E76 3006 move.w D0, D6
00002E78 5246 addq.w D6, 1
00002E7A 48C0 ext.l D0
00002E7C D0AD EAD2 add.l D0, [A5 - 0x152E]
00002E80 2240 movea.l A1, D0
00002E82 1091 move.b [A0], [A1]
00002E84 526D A7C4 addq.w [A5 - 0x583C], 1
00002E88 302D A7C4 move.w D0, [A5 - 0x583C]
00002E8C B06D A78A cmp.w D0, [A5 - 0x5876]
00002E90 6604 bne +0x6 /* 00002E96 */
00002E92 4EBA F822 jsr [PC - 0x7DE /* 000026B6 */]
label00002E96:
00002E96 0C46 2000 cmpi.w D6, 0x2000 /* ' \0' */
00002E9A 6DD2 blt -0x2C /* 00002E6E */
label00002E9C:
00002E9C 3E2D EADA move.w D7, [A5 - 0x1526]
00002EA0 BE6D EADC cmp.w D7, [A5 - 0x1524]
00002EA4 6C38 bge +0x3A /* 00002EDE */
00002EA6 3007 move.w D0, D7
00002EA8 48C0 ext.l D0
00002EAA D080 add.l D0, D0
00002EAC D0AD EACA add.l D0, [A5 - 0x1536]
00002EB0 2040 movea.l A0, D0
00002EB2 30AE FFFC move.w [A0], [A6 - 0x4]
00002EB6 3047 movea.w A0, D7
00002EB8 D1ED EACE add.l A0, [A5 - 0x1532]
00002EBC 10AE FFFF move.b [A0], [A6 - 0x1]
label00002EC0:
00002EC0 5247 addq.w D7, 1
00002EC2 BE6D EADC cmp.w D7, [A5 - 0x1524]
00002EC6 6C12 bge +0x14 /* 00002EDA */
00002EC8 3007 move.w D0, D7
00002ECA 48C0 ext.l D0
00002ECC D080 add.l D0, D0
00002ECE D0AD EACA add.l D0, [A5 - 0x1536]
00002ED2 2040 movea.l A0, D0
00002ED4 0C50 FFFF cmpi.w [A0], 0xFFFF
00002ED8 66E6 bne -0x18 /* 00002EC0 */
label00002EDA:
00002EDA 3B47 EADA move.w [A5 - 0x1526], D7
label00002EDE:
00002EDE 3D6E FFFA FFFC move.w [A6 - 0x4], [A6 - 0x6]
label00002EE4:
00002EE4 4A2D A79A tst.b [A5 - 0x5866]
00002EE8 6700 FDB6 beq -0x248 /* 00002CA0 */
label00002EEC:
00002EEC 4CDF 00C0 movem.l D7,D6, [A7]+
00002EF0 4E5E unlink A6
00002EF2 4E75 rts
00002EF4 554E subq.w A6, 2
00002EF6 5348 subq.w A0, 1
00002EF8 5249 addq.w A1, 1
00002EFA 4E4B trap 11
fn00002EFC:
00002EFC 4E56 0000 link A6, 0
00002F00 3F2E 0008 move.w -[A7], [A6 + 0x8]
00002F04 2F2E 000A move.l -[A7], [A6 + 0xA]
00002F08 3F2D A79C move.w -[A7], [A5 - 0x5864]
00002F0C 4EBA F196 jsr [PC - 0xE6A /* 000020A4 */]
00002F10 508F addq.l A7, 8
00002F12 306E 0008 movea.w A0, [A6 + 0x8]
00002F16 D1EE 000A add.l A0, [A6 + 0xA]
00002F1A 4210 clr.b [A0]
00002F1C 4E5E unlink A6
00002F1E 4E75 rts
00002F20 4745 chk.w D3, D5
00002F22 5453 addq.w [A3], 2
00002F24 5452 addq.w [A2], 2
00002F26 494E chk.w D4, A6
fn00002F28:
00002F28 4E56 0000 link A6, 0
00002F2C 48E7 0118 movem.l -[A7], D7,A3,A4
00002F30 286E 0008 movea.l A4, [A6 + 0x8]
00002F34 266E 000C movea.l A3, [A6 + 0xC]
00002F38 3E2E 0010 move.w D7, [A6 + 0x10]
00002F3C 6008 bra +0xA /* 00002F46 */
label00002F3E:
00002F3E 1893 move.b [A4], [A3]
00002F40 5347 subq.w D7, 1
00002F42 528C addq.l A4, 1
00002F44 528B addq.l A3, 1
label00002F46:
00002F46 4A47 tst.w D7
00002F48 62F4 bhi -0xA /* 00002F3E */
00002F4A 4CDF 1880 movem.l A4,A3,D7, [A7]+
00002F4E 4E5E unlink A6
00002F50 4E75 rts
00002F52 4D45 chk.w D6, D5
00002F54 4D43 chk.w D6, D3
00002F56 5059 addq.w [A1]+, 8
00002F58 2020 move.l D0, -[A0]
fn00002F5A:
00002F5A 4EBA 0BD4 jsr [PC + 0xBD4 /* 00003B30 */]
00002F5E 486D F98A pea.l [A5 - 0x676]
00002F62 4EBA DFA0 jsr [PC - 0x2060 /* 00000F04 */]
00002F66 588F addq.l A7, 4
00002F68 4E75 rts
fn00002F6A:
00002F6A 4E56 FFFE link A6, -0x0002
00002F6E 302E 0016 move.w D0, [A6 + 0x16]
00002F72 5340 subq.w D0, 1
00002F74 3D40 FFFE move.w [A6 - 0x2], D0
00002F78 6000 00B2 bra +0xB4 /* 0000302C */
label00002F7C:
00002F7C 302E 0010 move.w D0, [A6 + 0x10]
00002F80 B06E 0012 cmp.w D0, [A6 + 0x12]
00002F84 6E0A bgt +0xC /* 00002F90 */
00002F86 4EBA FFD2 jsr [PC - 0x2E /* 00002F5A */]
00002F8A 7001 moveq.l D0, 0x01
00002F8C 6000 0114 bra +0x116 /* 000030A2 */
label00002F90:
00002F90 302E 0014 move.w D0, [A6 + 0x14]
00002F94 322E FFFE move.w D1, [A6 - 0x2]
00002F98 E260 asr D0.w, D1
00002F9A 0800 0000 btst.b D0, 0x0
00002F9E 6748 beq +0x4A /* 00002FE8 */
00002FA0 302E 0010 move.w D0, [A6 + 0x10]
00002FA4 48C0 ext.l D0
00002FA6 E580 asl D0, 2
00002FA8 D0AE 0008 add.l D0, [A6 + 0x8]
00002FAC 2040 movea.l A0, D0
00002FAE 0C68 FFFF 0002 cmpi.w [A0 + 0x2], 0xFFFF
00002FB4 661C bne +0x1E /* 00002FD2 */
00002FB6 302E 0010 move.w D0, [A6 + 0x10]
00002FBA 48C0 ext.l D0
00002FBC E580 asl D0, 2
00002FBE D0AE 0008 add.l D0, [A6 + 0x8]
00002FC2 206E 000C movea.l A0, [A6 + 0xC]
00002FC6 2240 movea.l A1, D0
00002FC8 3350 0002 move.w [A1 + 0x2], [A0]
00002FCC 206E 000C movea.l A0, [A6 + 0xC]
00002FD0 5350 subq.w [A0], 1
label00002FD2:
00002FD2 302E 0010 move.w D0, [A6 + 0x10]
00002FD6 48C0 ext.l D0
00002FD8 E580 asl D0, 2
00002FDA D0AE 0008 add.l D0, [A6 + 0x8]
00002FDE 2040 movea.l A0, D0
00002FE0 3D68 0002 0010 move.w [A6 + 0x10], [A0 + 0x2]
00002FE6 6040 bra +0x42 /* 00003028 */
label00002FE8:
00002FE8 302E 0010 move.w D0, [A6 + 0x10]
00002FEC 48C0 ext.l D0
00002FEE E580 asl D0, 2
00002FF0 D0AE 0008 add.l D0, [A6 + 0x8]
00002FF4 2040 movea.l A0, D0
00002FF6 0C50 FFFF cmpi.w [A0], 0xFFFF
00002FFA 661A bne +0x1C /* 00003016 */
00002FFC 302E 0010 move.w D0, [A6 + 0x10]
00003000 48C0 ext.l D0
00003002 E580 asl D0, 2
00003004 D0AE 0008 add.l D0, [A6 + 0x8]
00003008 206E 000C movea.l A0, [A6 + 0xC]
0000300C 2240 movea.l A1, D0
0000300E 3290 move.w [A1], [A0]
00003010 206E 000C movea.l A0, [A6 + 0xC]
00003014 5350 subq.w [A0], 1
label00003016:
00003016 302E 0010 move.w D0, [A6 + 0x10]
0000301A 48C0 ext.l D0
0000301C E580 asl D0, 2
0000301E D0AE 0008 add.l D0, [A6 + 0x8]
00003022 2040 movea.l A0, D0
00003024 3D50 0010 move.w [A6 + 0x10], [A0]
label00003028:
00003028 536E FFFE subq.w [A6 - 0x2], 1
label0000302C:
0000302C 0C6E 0001 FFFE cmpi.w [A6 - 0x2], 0x1
00003032 6C00 FF48 bge -0xB6 /* 00002F7C */
00003036 082E 0000 0015 btst.b [A6 + 0x15], 0x0
0000303C 6734 beq +0x36 /* 00003072 */
0000303E 302E 0010 move.w D0, [A6 + 0x10]
00003042 48C0 ext.l D0
00003044 E580 asl D0, 2
00003046 D0AE 0008 add.l D0, [A6 + 0x8]
0000304A 2040 movea.l A0, D0
0000304C 0C68 FFFF 0002 cmpi.w [A0 + 0x2], 0xFFFF
00003052 6708 beq +0xA /* 0000305C */
00003054 4EBA FF04 jsr [PC - 0xFC /* 00002F5A */]
00003058 7001 moveq.l D0, 0x01
0000305A 6046 bra +0x48 /* 000030A2 */
label0000305C:
0000305C 302E 0010 move.w D0, [A6 + 0x10]
00003060 48C0 ext.l D0
00003062 E580 asl D0, 2
00003064 D0AE 0008 add.l D0, [A6 + 0x8]
00003068 2040 movea.l A0, D0
0000306A 316E 0018 0002 move.w [A0 + 0x2], [A6 + 0x18]
00003070 602E bra +0x30 /* 000030A0 */
label00003072:
00003072 302E 0010 move.w D0, [A6 + 0x10]
00003076 48C0 ext.l D0
00003078 E580 asl D0, 2
0000307A D0AE 0008 add.l D0, [A6 + 0x8]
0000307E 2040 movea.l A0, D0
00003080 0C50 FFFF cmpi.w [A0], 0xFFFF
00003084 6708 beq +0xA /* 0000308E */
00003086 4EBA FED2 jsr [PC - 0x12E /* 00002F5A */]
0000308A 7001 moveq.l D0, 0x01
0000308C 6014 bra +0x16 /* 000030A2 */
label0000308E:
0000308E 302E 0010 move.w D0, [A6 + 0x10]
00003092 48C0 ext.l D0
00003094 E580 asl D0, 2
00003096 D0AE 0008 add.l D0, [A6 + 0x8]
0000309A 2040 movea.l A0, D0
0000309C 30AE 0018 move.w [A0], [A6 + 0x18]
label000030A0:
000030A0 7000 moveq.l D0, 0x00
label000030A2:
000030A2 4E5E unlink A6
000030A4 4E75 rts
000030A6 4144 chk.w D0, D4
000030A8 4453 neg.w [A3]
000030AA 4653 not.w [A3]
000030AC 5542 subq.w D2, 2
fn000030AE:
000030AE 4E56 F9E4 link A6, -0x061C
000030B2 7001 moveq.l D0, 0x01
000030B4 1D40 F9E5 move.b [A6 - 0x61B], D0
000030B8 426E F9F2 clr.w [A6 - 0x60E]
000030BC 426E F9F0 clr.w [A6 - 0x610]
000030C0 486E F9F4 pea.l [A6 - 0x60C]
000030C4 4EBA F508 jsr [PC - 0xAF8 /* 000025CE */]
000030C8 588F addq.l A7, 4
000030CA 4A40 tst.w D0
000030CC 6610 bne +0x12 /* 000030DE */
000030CE 486D F9C0 pea.l [A5 - 0x640]
000030D2 4EBA DE30 jsr [PC - 0x21D0 /* 00000F04 */]
000030D6 588F addq.l A7, 4
000030D8 7001 moveq.l D0, 0x01
000030DA 6000 02A6 bra +0x2A8 /* 00003382 */
label000030DE:
000030DE 426E F9E8 clr.w [A6 - 0x618]
000030E2 6000 0080 bra +0x82 /* 00003164 */
label000030E6:
000030E6 486E F9F8 pea.l [A6 - 0x608]
000030EA 4EBA F4E2 jsr [PC - 0xB1E /* 000025CE */]
000030EE 588F addq.l A7, 4
000030F0 4A40 tst.w D0
000030F2 6610 bne +0x12 /* 00003104 */
000030F4 486D F9EE pea.l [A5 - 0x612]
000030F8 4EBA DE0A jsr [PC - 0x21F6 /* 00000F04 */]
000030FC 588F addq.l A7, 4
000030FE 7001 moveq.l D0, 0x01
00003100 6000 0280 bra +0x282 /* 00003382 */
label00003104:
00003104 700F moveq.l D0, 0x0F
00003106 C06E F9F8 and.w D0, [A6 - 0x608]
0000310A 5240 addq.w D0, 1
0000310C 1D40 F9F7 move.b [A6 - 0x609], D0
00003110 302E F9F8 move.w D0, [A6 - 0x608]
00003114 E840 asr D0.w, 4
00003116 0240 000F andi.w D0, 0xF
0000311A 1D40 F9F6 move.b [A6 - 0x60A], D0
0000311E 426E F9E6 clr.w [A6 - 0x61A]
00003122 6030 bra +0x32 /* 00003154 */
label00003124:
00003124 302E F9F2 move.w D0, [A6 - 0x60E]
00003128 C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
0000312A 0006 D08E ori.b D6, 0x8E
0000312E 2040 movea.l A0, D0
00003130 102E F9F7 move.b D0, [A6 - 0x609]
00003134 4880 ext.w D0
00003136 3140 FA00 move.w [A0 - 0x600], D0
0000313A 302E F9F2 move.w D0, [A6 - 0x60E]
0000313E C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
00003140 0006 D08E ori.b D6, 0x8E
00003144 2040 movea.l A0, D0
00003146 316E F9F2 FA02 move.w [A0 - 0x5FE], [A6 - 0x60E]
0000314C 526E F9F2 addq.w [A6 - 0x60E], 1
00003150 526E F9E6 addq.w [A6 - 0x61A], 1
label00003154:
00003154 102E F9F6 move.b D0, [A6 - 0x60A]
00003158 4880 ext.w D0
0000315A B06E F9E6 cmp.w D0, [A6 - 0x61A]
0000315E 6CC4 bge -0x3A /* 00003124 */
00003160 526E F9E8 addq.w [A6 - 0x618], 1
label00003164:
00003164 302E F9E8 move.w D0, [A6 - 0x618]
00003168 B06E F9F4 cmp.w D0, [A6 - 0x60C]
0000316C 6F00 FF78 ble -0x86 /* 000030E6 */
00003170 302E F9F2 move.w D0, [A6 - 0x60E]
00003174 5340 subq.w D0, 1
00003176 3D40 F9F0 move.w [A6 - 0x610], D0
0000317A 6000 0120 bra +0x122 /* 0000329C */
label0000317E:
0000317E 422E F9E5 clr.b [A6 - 0x61B]
00003182 426E F9E8 clr.w [A6 - 0x618]
00003186 6000 0108 bra +0x10A /* 00003290 */
label0000318A:
0000318A 302E F9E8 move.w D0, [A6 - 0x618]
0000318E C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
00003190 0006 D08E ori.b D6, 0x8E
00003194 322E F9E8 move.w D1, [A6 - 0x618]
00003198 5241 addq.w D1, 1
0000319A C3FC muls.w D1, 0xFFFFFFFFFFFFFFFF
0000319C 0006 D28E ori.b D6, 0x8E
000031A0 2041 movea.l A0, D1
000031A2 2240 movea.l A1, D0
000031A4 3029 FA00 move.w D0, [A1 - 0x600]
000031A8 B068 FA00 cmp.w D0, [A0 - 0x600]
000031AC 6E4C bgt +0x4E /* 000031FA */
000031AE 302E F9E8 move.w D0, [A6 - 0x618]
000031B2 C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
000031B4 0006 D08E ori.b D6, 0x8E
000031B8 322E F9E8 move.w D1, [A6 - 0x618]
000031BC 5241 addq.w D1, 1
000031BE C3FC muls.w D1, 0xFFFFFFFFFFFFFFFF
000031C0 0006 D28E ori.b D6, 0x8E
000031C4 2041 movea.l A0, D1
000031C6 2240 movea.l A1, D0
000031C8 3029 FA00 move.w D0, [A1 - 0x600]
000031CC B068 FA00 cmp.w D0, [A0 - 0x600]
000031D0 6600 00BA bne +0xBC /* 0000328C */
000031D4 302E F9E8 move.w D0, [A6 - 0x618]
000031D8 C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
000031DA 0006 D08E ori.b D6, 0x8E
000031DE 322E F9E8 move.w D1, [A6 - 0x618]
000031E2 5241 addq.w D1, 1
000031E4 C3FC muls.w D1, 0xFFFFFFFFFFFFFFFF
000031E6 0006 D28E ori.b D6, 0x8E
000031EA 2041 movea.l A0, D1
000031EC 2240 movea.l A1, D0
000031EE 3029 FA02 move.w D0, [A1 - 0x5FE]
000031F2 B068 FA02 cmp.w D0, [A0 - 0x5FE]
000031F6 6F00 0094 ble +0x96 /* 0000328C */
label000031FA:
000031FA 302E F9E8 move.w D0, [A6 - 0x618]
000031FE C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
00003200 0006 D08E ori.b D6, 0x8E
00003204 2040 movea.l A0, D0
00003206 3D68 FA00 F9FA move.w [A6 - 0x606], [A0 - 0x600]
0000320C 302E F9E8 move.w D0, [A6 - 0x618]
00003210 C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
00003212 0006 D08E ori.b D6, 0x8E
00003216 2040 movea.l A0, D0
00003218 3D68 FA02 F9FC move.w [A6 - 0x604], [A0 - 0x5FE]
0000321E 302E F9E8 move.w D0, [A6 - 0x618]
00003222 C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
00003224 0006 D08E ori.b D6, 0x8E
00003228 322E F9E8 move.w D1, [A6 - 0x618]
0000322C 5241 addq.w D1, 1
0000322E C3FC muls.w D1, 0xFFFFFFFFFFFFFFFF
00003230 0006 D28E ori.b D6, 0x8E
00003234 2041 movea.l A0, D1
00003236 2240 movea.l A1, D0
00003238 3368 FA00 FA00 move.w [A1 - 0x600], [A0 - 0x600]
0000323E 302E F9E8 move.w D0, [A6 - 0x618]
00003242 C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
00003244 0006 D08E ori.b D6, 0x8E
00003248 322E F9E8 move.w D1, [A6 - 0x618]
0000324C 5241 addq.w D1, 1
0000324E C3FC muls.w D1, 0xFFFFFFFFFFFFFFFF
00003250 0006 D28E ori.b D6, 0x8E
00003254 2041 movea.l A0, D1
00003256 2240 movea.l A1, D0
00003258 3368 FA02 FA02 move.w [A1 - 0x5FE], [A0 - 0x5FE]
0000325E 302E F9E8 move.w D0, [A6 - 0x618]
00003262 5240 addq.w D0, 1
00003264 C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
00003266 0006 D08E ori.b D6, 0x8E
0000326A 2040 movea.l A0, D0
0000326C 316E F9FA FA00 move.w [A0 - 0x600], [A6 - 0x606]
00003272 302E F9E8 move.w D0, [A6 - 0x618]
00003276 5240 addq.w D0, 1
00003278 C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
0000327A 0006 D08E ori.b D6, 0x8E
0000327E 2040 movea.l A0, D0
00003280 316E F9FC FA02 move.w [A0 - 0x5FE], [A6 - 0x604]
00003286 7001 moveq.l D0, 0x01
00003288 1D40 F9E5 move.b [A6 - 0x61B], D0
label0000328C:
0000328C 526E F9E8 addq.w [A6 - 0x618], 1
label00003290:
00003290 302E F9E8 move.w D0, [A6 - 0x618]
00003294 B06E F9F0 cmp.w D0, [A6 - 0x610]
00003298 6D00 FEF0 blt -0x10E /* 0000318A */
label0000329C:
0000329C 4A2E F9E5 tst.b [A6 - 0x61B]
000032A0 6600 FEDC bne -0x122 /* 0000317E */
000032A4 426E F9EE clr.w [A6 - 0x612]
000032A8 426E F9EC clr.w [A6 - 0x614]
000032AC 426E F9EA clr.w [A6 - 0x616]
000032B0 3D6E F9F0 F9E8 move.w [A6 - 0x618], [A6 - 0x610]
000032B6 6000 00C0 bra +0xC2 /* 00003378 */
label000032BA:
000032BA 302E F9EE move.w D0, [A6 - 0x612]
000032BE D06E F9EC add.w D0, [A6 - 0x614]
000032C2 3D40 F9EE move.w [A6 - 0x612], D0
000032C6 302E F9E8 move.w D0, [A6 - 0x618]
000032CA C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
000032CC 0006 D08E ori.b D6, 0x8E
000032D0 2040 movea.l A0, D0
000032D2 3028 FA00 move.w D0, [A0 - 0x600]
000032D6 B06E F9EA cmp.w D0, [A6 - 0x616]
000032DA 6720 beq +0x22 /* 000032FC */
000032DC 302E F9E8 move.w D0, [A6 - 0x618]
000032E0 C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
000032E2 0006 D08E ori.b D6, 0x8E
000032E6 2040 movea.l A0, D0
000032E8 3D68 FA00 F9EA move.w [A6 - 0x616], [A0 - 0x600]
000032EE 7010 moveq.l D0, 0x10
000032F0 906E F9EA sub.w D0, [A6 - 0x616]
000032F4 7201 moveq.l D1, 0x01
000032F6 E169 lsl D1.w, D0
000032F8 3D41 F9EC move.w [A6 - 0x614], D1
label000032FC:
000032FC 302E F9E8 move.w D0, [A6 - 0x618]
00003300 C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
00003302 0006 D08E ori.b D6, 0x8E
00003306 322E F9E8 move.w D1, [A6 - 0x618]
0000330A C3FC muls.w D1, 0xFFFFFFFFFFFFFFFF
0000330C 0006 D28E ori.b D6, 0x8E
00003310 2041 movea.l A0, D1
00003312 7210 moveq.l D1, 0x10
00003314 9268 FA00 sub.w D1, [A0 - 0x600]
00003318 342E F9EE move.w D2, [A6 - 0x612]
0000331C E26A lsr D2.w, D1
0000331E 2040 movea.l A0, D0
00003320 3142 FA04 move.w [A0 - 0x5FC], D2
00003324 302E F9E8 move.w D0, [A6 - 0x618]
00003328 C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
0000332A 0006 D08E ori.b D6, 0x8E
0000332E 322E F9E8 move.w D1, [A6 - 0x618]
00003332 C3FC muls.w D1, 0xFFFFFFFFFFFFFFFF
00003334 0006 D28E ori.b D6, 0x8E
00003338 342E F9E8 move.w D2, [A6 - 0x618]
0000333C C5FC muls.w D2, 0xFFFFFFFFFFFFFFFF
0000333E 0006 D48E ori.b D6, 0x8E
00003342 2042 movea.l A0, D2
00003344 3F28 FA02 move.w -[A7], [A0 - 0x5FE]
00003348 2041 movea.l A0, D1
0000334A 3F28 FA00 move.w -[A7], [A0 - 0x600]
0000334E 2040 movea.l A0, D0
00003350 3F28 FA04 move.w -[A7], [A0 - 0x5FC]
00003354 3F2E 0012 move.w -[A7], [A6 + 0x12]
00003358 3F2E 0010 move.w -[A7], [A6 + 0x10]
0000335C 2F2E 000C move.l -[A7], [A6 + 0xC]
00003360 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003364 4EBA FC04 jsr [PC - 0x3FC /* 00002F6A */]
00003368 4FEF 0012 lea.l A7, [A7 + 0x12]
0000336C 4A00 tst.b D0
0000336E 6704 beq +0x6 /* 00003374 */
00003370 7001 moveq.l D0, 0x01
00003372 600E bra +0x10 /* 00003382 */
label00003374:
00003374 536E F9E8 subq.w [A6 - 0x618], 1
label00003378:
00003378 4A6E F9E8 tst.w [A6 - 0x618]
0000337C 6C00 FF3C bge -0xC2 /* 000032BA */
00003380 7000 moveq.l D0, 0x00
label00003382:
00003382 4E5E unlink A6
00003384 4E75 rts
00003386 434F chk.w D1, A7
00003388 4E53 5452 link A3, -0xFFFFABAE
0000338C 5543 subq.w D3, 2
fn0000338E:
0000338E 4E56 FFFE link A6, -0x0002
00003392 302D A7A0 move.w D0, [A5 - 0x5860]
00003396 E248 lsr D0.w, 1
00003398 0240 0001 andi.w D0, 0x1
0000339C C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
0000339E 1000 move.b D0, D0
000033A0 0640 1000 addi.w D0, 0x1000
000033A4 3B40 F6EC move.w [A5 - 0x914], D0
000033A8 302D A7A0 move.w D0, [A5 - 0x5860]
000033AC E448 lsr D0.w, 2
000033AE 0240 0001 andi.w D0, 0x1
000033B2 5440 addq.w D0, 2
000033B4 3B40 F6E8 move.w [A5 - 0x918], D0
000033B8 3B6D F6E8 F6EA move.w [A5 - 0x916], [A5 - 0x918]
000033BE 426E FFFE clr.w [A6 - 0x2]
000033C2 602A bra +0x2C /* 000033EE */
label000033C4:
000033C4 302E FFFE move.w D0, [A6 - 0x2]
000033C8 48C0 ext.l D0
000033CA E580 asl D0, 2
000033CC 41ED F4E2 lea.l A0, [A5 - 0xB1E]
000033D0 D1C0 add.l A0, D0
000033D2 70FF moveq.l D0, 0xFFFFFFFF
000033D4 3080 move.w [A0], D0
000033D6 302E FFFE move.w D0, [A6 - 0x2]
000033DA 48C0 ext.l D0
000033DC E580 asl D0, 2
000033DE 41ED F4E2 lea.l A0, [A5 - 0xB1E]
000033E2 D1C0 add.l A0, D0
000033E4 70FF moveq.l D0, 0xFFFFFFFF
000033E6 3140 0002 move.w [A0 + 0x2], D0
000033EA 526E FFFE addq.w [A6 - 0x2], 1
label000033EE:
000033EE 0C6E 007F FFFE cmpi.w [A6 - 0x2], 0x7F
000033F4 6FCE ble -0x30 /* 000033C4 */
000033F6 707E moveq.l D0, 0x7E
000033F8 3B40 F6E4 move.w [A5 - 0x91C], D0
000033FC 426E FFFE clr.w [A6 - 0x2]
00003400 602A bra +0x2C /* 0000342C */
label00003402:
00003402 302E FFFE move.w D0, [A6 - 0x2]
00003406 48C0 ext.l D0
00003408 E580 asl D0, 2
0000340A 41ED F2E2 lea.l A0, [A5 - 0xD1E]
0000340E D1C0 add.l A0, D0
00003410 70FF moveq.l D0, 0xFFFFFFFF
00003412 3080 move.w [A0], D0
00003414 302E FFFE move.w D0, [A6 - 0x2]
00003418 48C0 ext.l D0
0000341A E580 asl D0, 2
0000341C 41ED F2E2 lea.l A0, [A5 - 0xD1E]
00003420 D1C0 add.l A0, D0
00003422 70FF moveq.l D0, 0xFFFFFFFF
00003424 3140 0002 move.w [A0 + 0x2], D0
00003428 526E FFFE addq.w [A6 - 0x2], 1
label0000342C:
0000342C 0C6E 007F FFFE cmpi.w [A6 - 0x2], 0x7F
00003432 6FCE ble -0x30 /* 00003402 */
00003434 707E moveq.l D0, 0x7E
00003436 3B40 F6E6 move.w [A5 - 0x91A], D0
0000343A 0C6D 0003 F6E8 cmpi.w [A5 - 0x918], 0x3
00003440 6600 0060 bne +0x62 /* 000034A2 */
00003444 426E FFFE clr.w [A6 - 0x2]
00003448 602A bra +0x2C /* 00003474 */
label0000344A:
0000344A 302E FFFE move.w D0, [A6 - 0x2]
0000344E 48C0 ext.l D0
00003450 E580 asl D0, 2
00003452 41ED EAE2 lea.l A0, [A5 - 0x151E]
00003456 D1C0 add.l A0, D0
00003458 70FF moveq.l D0, 0xFFFFFFFF
0000345A 3080 move.w [A0], D0
0000345C 302E FFFE move.w D0, [A6 - 0x2]
00003460 48C0 ext.l D0
00003462 E580 asl D0, 2
00003464 41ED EAE2 lea.l A0, [A5 - 0x151E]
00003468 D1C0 add.l A0, D0
0000346A 70FF moveq.l D0, 0xFFFFFFFF
0000346C 3140 0002 move.w [A0 + 0x2], D0
00003470 526E FFFE addq.w [A6 - 0x2], 1
label00003474:
00003474 0C6E 01FF FFFE cmpi.w [A6 - 0x2], 0x1FF
0000347A 6FCE ble -0x30 /* 0000344A */
0000347C 3B7C 01FE F6E2 move.w [A5 - 0x91E], 0x1FE
00003482 3F3C 00FF move.w -[A7], 0xFF
00003486 3F3C 01FF move.w -[A7], 0x1FF
0000348A 486D F6E2 pea.l [A5 - 0x91E]
0000348E 486D EAE2 pea.l [A5 - 0x151E]
00003492 4EBA FC1A jsr [PC - 0x3E6 /* 000030AE */]
00003496 4FEF 000C lea.l A7, [A7 + 0xC]
0000349A 4A00 tst.b D0
0000349C 6704 beq +0x6 /* 000034A2 */
0000349E 7001 moveq.l D0, 0x01
000034A0 6042 bra +0x44 /* 000034E4 */
label000034A2:
000034A2 3F3C 003F move.w -[A7], 0x3F /* '?' */
000034A6 3F3C 007F move.w -[A7], 0x7F
000034AA 486D F6E4 pea.l [A5 - 0x91C]
000034AE 486D F4E2 pea.l [A5 - 0xB1E]
000034B2 4EBA FBFA jsr [PC - 0x406 /* 000030AE */]
000034B6 4FEF 000C lea.l A7, [A7 + 0xC]
000034BA 4A00 tst.b D0
000034BC 6704 beq +0x6 /* 000034C2 */
000034BE 7001 moveq.l D0, 0x01
000034C0 6022 bra +0x24 /* 000034E4 */
label000034C2:
000034C2 3F3C 003F move.w -[A7], 0x3F /* '?' */
000034C6 3F3C 007F move.w -[A7], 0x7F
000034CA 486D F6E6 pea.l [A5 - 0x91A]
000034CE 486D F2E2 pea.l [A5 - 0xD1E]
000034D2 4EBA FBDA jsr [PC - 0x426 /* 000030AE */]
000034D6 4FEF 000C lea.l A7, [A7 + 0xC]
000034DA 4A00 tst.b D0
000034DC 6704 beq +0x6 /* 000034E2 */
000034DE 7001 moveq.l D0, 0x01
000034E0 6002 bra +0x4 /* 000034E4 */
label000034E2:
000034E2 7000 moveq.l D0, 0x00
label000034E4:
000034E4 4E5E unlink A6
000034E6 4E75 rts
000034E8 494E chk.w D4, A6
000034EA 4954 chk.w D4, [A4]
000034EC 4558 chk.w D2, [A0]+
000034EE 504C addq.w A4, 8
fn000034F0:
000034F0 4E56 FFFE link A6, -0x0002
000034F4 6000 0098 bra +0x9A /* 0000358E */
label000034F8:
000034F8 0C6D 0001 A798 cmpi.w [A5 - 0x5868], 0x1
000034FE 6D16 blt +0x18 /* 00003516 */
00003500 302D A796 move.w D0, [A5 - 0x586A]
00003504 C06D F6F0 and.w D0, [A5 - 0x910]
00003508 3D40 FFFE move.w [A6 - 0x2], D0
0000350C E2ED A796 lsr .w [A5 - 0x586A]
00003510 536D A798 subq.w [A5 - 0x5868], 1
00003514 600E bra +0x10 /* 00003524 */
label00003516:
00003516 3F3C 0001 move.w -[A7], 0x1
0000351A 4EBA F112 jsr [PC - 0xEEE /* 0000262E */]
0000351E 548F addq.l A7, 2
00003520 3D40 FFFE move.w [A6 - 0x2], D0
label00003524:
00003524 4A6E FFFE tst.w [A6 - 0x2]
00003528 6736 beq +0x38 /* 00003560 */
0000352A 302E 000C move.w D0, [A6 + 0xC]
0000352E 48C0 ext.l D0
00003530 E580 asl D0, 2
00003532 D0AE 0008 add.l D0, [A6 + 0x8]
00003536 2040 movea.l A0, D0
00003538 0C68 FFFF 0002 cmpi.w [A0 + 0x2], 0xFFFF
0000353E 660A bne +0xC /* 0000354A */
00003540 4EBA FA18 jsr [PC - 0x5E8 /* 00002F5A */]
00003544 7001 moveq.l D0, 0x01
00003546 6000 005C bra +0x5E /* 000035A4 */
label0000354A:
0000354A 302E 000C move.w D0, [A6 + 0xC]
0000354E 48C0 ext.l D0
00003550 E580 asl D0, 2
00003552 D0AE 0008 add.l D0, [A6 + 0x8]
00003556 2040 movea.l A0, D0
00003558 3D68 0002 000C move.w [A6 + 0xC], [A0 + 0x2]
0000355E 602E bra +0x30 /* 0000358E */
label00003560:
00003560 302E 000C move.w D0, [A6 + 0xC]
00003564 48C0 ext.l D0
00003566 E580 asl D0, 2
00003568 D0AE 0008 add.l D0, [A6 + 0x8]
0000356C 2040 movea.l A0, D0
0000356E 0C50 FFFF cmpi.w [A0], 0xFFFF
00003572 6608 bne +0xA /* 0000357C */
00003574 4EBA F9E4 jsr [PC - 0x61C /* 00002F5A */]
00003578 7001 moveq.l D0, 0x01
0000357A 6028 bra +0x2A /* 000035A4 */
label0000357C:
0000357C 302E 000C move.w D0, [A6 + 0xC]
00003580 48C0 ext.l D0
00003582 E580 asl D0, 2
00003584 D0AE 0008 add.l D0, [A6 + 0x8]
00003588 2040 movea.l A0, D0
0000358A 3D50 000C move.w [A6 + 0xC], [A0]
label0000358E:
0000358E 302E 000C move.w D0, [A6 + 0xC]
00003592 B06E 000E cmp.w D0, [A6 + 0xE]
00003596 6E00 FF60 bgt -0x9E /* 000034F8 */
0000359A 206E 0010 movea.l A0, [A6 + 0x10]
0000359E 30AE 000C move.w [A0], [A6 + 0xC]
000035A2 7000 moveq.l D0, 0x00
label000035A4:
000035A4 4E5E unlink A6
000035A6 4E75 rts
000035A8 4445 neg.w D5
000035AA 434F chk.w D1, A7
000035AC 4445 neg.w D5
000035AE 5346 subq.w D6, 1
fn000035B0:
000035B0 4E56 FFEC link A6, -0x0014
000035B4 4EBA FDD8 jsr [PC - 0x228 /* 0000338E */]
000035B8 4A00 tst.b D0
000035BA 6600 02FA bne +0x2FC /* 000038B6 */
000035BE 426E FFFE clr.w [A6 - 0x2]
000035C2 426E FFFC clr.w [A6 - 0x4]
000035C6 426E FFEE clr.w [A6 - 0x12]
000035CA 600E bra +0x10 /* 000035DA */
label000035CC:
000035CC 306E FFEE movea.w A0, [A6 - 0x12]
000035D0 D1ED EAD2 add.l A0, [A5 - 0x152E]
000035D4 4210 clr.b [A0]
000035D6 526E FFEE addq.w [A6 - 0x12], 1
label000035DA:
000035DA 0C6E 2001 FFEE cmpi.w [A6 - 0x12], 0x2001
000035E0 6FEA ble -0x14 /* 000035CC */
000035E2 0C6D 2000 F6EC cmpi.w [A5 - 0x914], 0x2000 /* ' \0' */
000035E8 57C0 seq D0
000035EA 4400 neg.b D0
000035EC 4880 ext.w D0
000035EE 1D40 FFED move.b [A6 - 0x13], D0
000035F2 0C6D 0003 F6E8 cmpi.w [A5 - 0x918], 0x3
000035F8 57C0 seq D0
000035FA 4400 neg.b D0
000035FC 4880 ext.w D0
000035FE 1D40 FFEC move.b [A6 - 0x14], D0
00003602 6000 029C bra +0x29E /* 000038A0 */
label00003606:
00003606 0C6D 0001 A798 cmpi.w [A5 - 0x5868], 0x1
0000360C 6D16 blt +0x18 /* 00003624 */
0000360E 302D A796 move.w D0, [A5 - 0x586A]
00003612 C06D F6F0 and.w D0, [A5 - 0x910]
00003616 3D40 FFF0 move.w [A6 - 0x10], D0
0000361A E2ED A796 lsr .w [A5 - 0x586A]
0000361E 536D A798 subq.w [A5 - 0x5868], 1
00003622 600E bra +0x10 /* 00003632 */
label00003624:
00003624 3F3C 0001 move.w -[A7], 0x1
00003628 4EBA F004 jsr [PC - 0xFFC /* 0000262E */]
0000362C 548F addq.l A7, 2
0000362E 3D40 FFF0 move.w [A6 - 0x10], D0
label00003632:
00003632 4A6E FFF0 tst.w [A6 - 0x10]
00003636 6700 009C beq +0x9E /* 000036D4 */
0000363A 4A2E FFEC tst.b [A6 - 0x14]
0000363E 6720 beq +0x22 /* 00003660 */
00003640 486E FFF2 pea.l [A6 - 0xE]
00003644 3F3C 00FF move.w -[A7], 0xFF
00003648 3F3C 01FF move.w -[A7], 0x1FF
0000364C 486D EAE2 pea.l [A5 - 0x151E]
00003650 4EBA FE9E jsr [PC - 0x162 /* 000034F0 */]
00003654 4FEF 000C lea.l A7, [A7 + 0xC]
00003658 4A00 tst.b D0
0000365A 6600 025A bne +0x25C /* 000038B6 */
0000365E 6032 bra +0x34 /* 00003692 */
label00003660:
00003660 0C6D 0008 A798 cmpi.w [A5 - 0x5868], 0x8
00003666 6D1C blt +0x1E /* 00003684 */
00003668 302D A796 move.w D0, [A5 - 0x586A]
0000366C C06D F6FE and.w D0, [A5 - 0x902]
00003670 3D40 FFF2 move.w [A6 - 0xE], D0
00003674 302D A796 move.w D0, [A5 - 0x586A]
00003678 E048 lsr D0.w, 8
0000367A 3B40 A796 move.w [A5 - 0x586A], D0
0000367E 516D A798 subq.w [A5 - 0x5868], 8
00003682 600E bra +0x10 /* 00003692 */
label00003684:
00003684 3F3C 0008 move.w -[A7], 0x8
00003688 4EBA EFA4 jsr [PC - 0x105C /* 0000262E */]
0000368C 548F addq.l A7, 2
0000368E 3D40 FFF2 move.w [A6 - 0xE], D0
label00003692:
00003692 206D A7BC movea.l A0, [A5 - 0x5844]
00003696 52AD A7BC addq.l [A5 - 0x5844], 1
0000369A 10AE FFF3 move.b [A0], [A6 - 0xD]
0000369E 526D A7C4 addq.w [A5 - 0x583C], 1
000036A2 302D A7C4 move.w D0, [A5 - 0x583C]
000036A6 B06D A78A cmp.w D0, [A5 - 0x5876]
000036AA 6604 bne +0x6 /* 000036B0 */
000036AC 4EBA F008 jsr [PC - 0xFF8 /* 000026B6 */]
label000036B0:
000036B0 306E FFFC movea.w A0, [A6 - 0x4]
000036B4 D1ED EAD2 add.l A0, [A5 - 0x152E]
000036B8 10AE FFF3 move.b [A0], [A6 - 0xD]
000036BC 526E FFFC addq.w [A6 - 0x4], 1
000036C0 302D F6EC move.w D0, [A5 - 0x914]
000036C4 B06E FFFC cmp.w D0, [A6 - 0x4]
000036C8 6600 01D6 bne +0x1D8 /* 000038A0 */
000036CC 426E FFFC clr.w [A6 - 0x4]
000036D0 6000 01CE bra +0x1D0 /* 000038A0 */
label000036D4:
000036D4 4A2E FFED tst.b [A6 - 0x13]
000036D8 6700 0068 beq +0x6A /* 00003742 */
000036DC 0C6D 0007 A798 cmpi.w [A5 - 0x5868], 0x7
000036E2 6D1C blt +0x1E /* 00003700 */
000036E4 302D A796 move.w D0, [A5 - 0x586A]
000036E8 C06D F6FC and.w D0, [A5 - 0x904]
000036EC 3D40 FFF4 move.w [A6 - 0xC], D0
000036F0 302D A796 move.w D0, [A5 - 0x586A]
000036F4 EE48 lsr D0.w, 7
000036F6 3B40 A796 move.w [A5 - 0x586A], D0
000036FA 5F6D A798 subq.w [A5 - 0x5868], 7
000036FE 600E bra +0x10 /* 0000370E */
label00003700:
00003700 3F3C 0007 move.w -[A7], 0x7
00003704 4EBA EF28 jsr [PC - 0x10D8 /* 0000262E */]
00003708 548F addq.l A7, 2
0000370A 3D40 FFF4 move.w [A6 - 0xC], D0
label0000370E:
0000370E 486E FFF6 pea.l [A6 - 0xA]
00003712 3F3C 003F move.w -[A7], 0x3F /* '?' */
00003716 3F3C 007F move.w -[A7], 0x7F
0000371A 486D F2E2 pea.l [A5 - 0xD1E]
0000371E 4EBA FDD0 jsr [PC - 0x230 /* 000034F0 */]
00003722 4FEF 000C lea.l A7, [A7 + 0xC]
00003726 4A00 tst.b D0
00003728 6600 018C bne +0x18E /* 000038B6 */
0000372C 302E FFF6 move.w D0, [A6 - 0xA]
00003730 EF48 lsl D0.w, 7
00003732 806E FFF4 or.w D0, [A6 - 0xC]
00003736 0240 1FFF andi.w D0, 0x1FFF
0000373A 3D40 FFF4 move.w [A6 - 0xC], D0
0000373E 6000 0064 bra +0x66 /* 000037A4 */
label00003742:
00003742 0C6D 0006 A798 cmpi.w [A5 - 0x5868], 0x6
00003748 6D1C blt +0x1E /* 00003766 */
0000374A 302D A796 move.w D0, [A5 - 0x586A]
0000374E C06D F6FA and.w D0, [A5 - 0x906]
00003752 3D40 FFF4 move.w [A6 - 0xC], D0
00003756 302D A796 move.w D0, [A5 - 0x586A]
0000375A EC48 lsr D0.w, 6
0000375C 3B40 A796 move.w [A5 - 0x586A], D0
00003760 5D6D A798 subq.w [A5 - 0x5868], 6
00003764 600E bra +0x10 /* 00003774 */
label00003766:
00003766 3F3C 0006 move.w -[A7], 0x6
0000376A 4EBA EEC2 jsr [PC - 0x113E /* 0000262E */]
0000376E 548F addq.l A7, 2
00003770 3D40 FFF4 move.w [A6 - 0xC], D0
label00003774:
00003774 486E FFF6 pea.l [A6 - 0xA]
00003778 3F3C 003F move.w -[A7], 0x3F /* '?' */
0000377C 3F3C 007F move.w -[A7], 0x7F
00003780 486D F2E2 pea.l [A5 - 0xD1E]
00003784 4EBA FD6A jsr [PC - 0x296 /* 000034F0 */]
00003788 4FEF 000C lea.l A7, [A7 + 0xC]
0000378C 4A00 tst.b D0
0000378E 6600 0126 bne +0x128 /* 000038B6 */
00003792 302E FFF6 move.w D0, [A6 - 0xA]
00003796 ED48 lsl D0.w, 6
00003798 806E FFF4 or.w D0, [A6 - 0xC]
0000379C 0240 0FFF andi.w D0, 0xFFF
000037A0 3D40 FFF4 move.w [A6 - 0xC], D0
label000037A4:
000037A4 486E FFF8 pea.l [A6 - 0x8]
000037A8 3F3C 003F move.w -[A7], 0x3F /* '?' */
000037AC 3F3C 007F move.w -[A7], 0x7F
000037B0 486D F4E2 pea.l [A5 - 0xB1E]
000037B4 4EBA FD3A jsr [PC - 0x2C6 /* 000034F0 */]
000037B8 4FEF 000C lea.l A7, [A7 + 0xC]
000037BC 4A00 tst.b D0
000037BE 6600 00F6 bne +0xF8 /* 000038B6 */
000037C2 0C6E 003F FFF8 cmpi.w [A6 - 0x8], 0x3F /* '?' */
000037C8 663E bne +0x40 /* 00003808 */
000037CA 0C6D 0008 A798 cmpi.w [A5 - 0x5868], 0x8
000037D0 6D1C blt +0x1E /* 000037EE */
000037D2 302D A796 move.w D0, [A5 - 0x586A]
000037D6 C06D F6FE and.w D0, [A5 - 0x902]
000037DA 3D40 FFEE move.w [A6 - 0x12], D0
000037DE 302D A796 move.w D0, [A5 - 0x586A]
000037E2 E048 lsr D0.w, 8
000037E4 3B40 A796 move.w [A5 - 0x586A], D0
000037E8 516D A798 subq.w [A5 - 0x5868], 8
000037EC 600E bra +0x10 /* 000037FC */
label000037EE:
000037EE 3F3C 0008 move.w -[A7], 0x8
000037F2 4EBA EE3A jsr [PC - 0x11C6 /* 0000262E */]
000037F6 548F addq.l A7, 2
000037F8 3D40 FFEE move.w [A6 - 0x12], D0
label000037FC:
000037FC 302E FFF8 move.w D0, [A6 - 0x8]
00003800 D06E FFEE add.w D0, [A6 - 0x12]
00003804 3D40 FFF8 move.w [A6 - 0x8], D0
label00003808:
00003808 302E FFF8 move.w D0, [A6 - 0x8]
0000380C D06D F6EA add.w D0, [A5 - 0x916]
00003810 3D40 FFF8 move.w [A6 - 0x8], D0
00003814 302E FFFC move.w D0, [A6 - 0x4]
00003818 906E FFF4 sub.w D0, [A6 - 0xC]
0000381C 5340 subq.w D0, 1
0000381E 3D40 FFFA move.w [A6 - 0x6], D0
00003822 4A6E FFFA tst.w [A6 - 0x6]
00003826 6C00 006C bge +0x6E /* 00003894 */
0000382A 302E FFFA move.w D0, [A6 - 0x6]
0000382E D06D F6EC add.w D0, [A5 - 0x914]
00003832 3D40 FFFA move.w [A6 - 0x6], D0
00003836 6000 005C bra +0x5E /* 00003894 */
label0000383A:
0000383A 206D A7BC movea.l A0, [A5 - 0x5844]
0000383E 52AD A7BC addq.l [A5 - 0x5844], 1
00003842 326E FFFA movea.w A1, [A6 - 0x6]
00003846 D3ED EAD2 add.l A1, [A5 - 0x152E]
0000384A 1091 move.b [A0], [A1]
0000384C 526D A7C4 addq.w [A5 - 0x583C], 1
00003850 302D A7C4 move.w D0, [A5 - 0x583C]
00003854 B06D A78A cmp.w D0, [A5 - 0x5876]
00003858 6604 bne +0x6 /* 0000385E */
0000385A 4EBA EE5A jsr [PC - 0x11A6 /* 000026B6 */]
label0000385E:
0000385E 306E FFFC movea.w A0, [A6 - 0x4]
00003862 D1ED EAD2 add.l A0, [A5 - 0x152E]
00003866 326E FFFA movea.w A1, [A6 - 0x6]
0000386A D3ED EAD2 add.l A1, [A5 - 0x152E]
0000386E 1091 move.b [A0], [A1]
00003870 526E FFFC addq.w [A6 - 0x4], 1
00003874 302D F6EC move.w D0, [A5 - 0x914]
00003878 B06E FFFC cmp.w D0, [A6 - 0x4]
0000387C 6604 bne +0x6 /* 00003882 */
0000387E 426E FFFC clr.w [A6 - 0x4]
label00003882:
00003882 526E FFFA addq.w [A6 - 0x6], 1
00003886 302D F6EC move.w D0, [A5 - 0x914]
0000388A B06E FFFA cmp.w D0, [A6 - 0x6]
0000388E 6604 bne +0x6 /* 00003894 */
00003890 426E FFFA clr.w [A6 - 0x6]
label00003894:
00003894 302E FFF8 move.w D0, [A6 - 0x8]
00003898 536E FFF8 subq.w [A6 - 0x8], 1
0000389C 4A40 tst.w D0
0000389E 6E9A bgt -0x64 /* 0000383A */
label000038A0:
000038A0 4A2D A79A tst.b [A5 - 0x5866]
000038A4 6610 bne +0x12 /* 000038B6 */
000038A6 306D A7C4 movea.w A0, [A5 - 0x583C]
000038AA D1ED A7C0 add.l A0, [A5 - 0x5840]
000038AE B1ED A7B0 cmpa.l A0, [A5 - 0x5850]
000038B2 6D00 FD52 blt -0x2AC /* 00003606 */
label000038B6:
000038B6 4E5E unlink A6
000038B8 4E75 rts
000038BA 4558 chk.w D2, [A0]+
000038BC 504C addq.w A4, 8
000038BE 4F44 chk.w D7, D4
000038C0 4520 .invalid 2, -[A0] // invalid opcode 4 with b == 4
fn000038C2:
000038C2 4E56 FF84 link A6, -0x007C
000038C6 42AE FF98 clr.l [A6 - 0x68]
000038CA 3D6E 0008 FF9C move.w [A6 - 0x64], [A6 + 0x8]
000038D0 426E FFA2 clr.w [A6 - 0x5E]
000038D4 4267 clr.w -[A7]
000038D6 486E FF86 pea.l [A6 - 0x7A]
000038DA 4267 clr.w -[A7]
000038DC 4EAD 026A jsr [A5 + 0x26A]
000038E0 301F move.w D0, [A7]+
000038E2 3D40 FF84 move.w [A6 - 0x7C], D0
000038E6 4A6E FF84 tst.w [A6 - 0x7C]
000038EA 6616 bne +0x18 /* 00003902 */
000038EC 306E FFC4 movea.w A0, [A6 - 0x3C]
000038F0 2F2E FFB6 move.l -[A7], [A6 - 0x4A]
000038F4 2F08 move.l -[A7], A0
000038F6 4EAD 0042 jsr [A5 + 0x42]
000038FA 206E 000A movea.l A0, [A6 + 0xA]
000038FE 2080 move.l [A0], D0
00003900 6006 bra +0x8 /* 00003908 */
label00003902:
00003902 206E 000A movea.l A0, [A6 + 0xA]
00003906 4290 clr.l [A0]
label00003908:
00003908 302E FF84 move.w D0, [A6 - 0x7C]
0000390C 4E5E unlink A6
0000390E 4E75 rts
00003910 4652 not.w [A2]
00003912 4545 chk.w D2, D5
00003914 5350 subq.w [A0], 1
00003916 4143 chk.w D0, D3
00003918 4E56 FF44 link A6, -0x00BC
0000391C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003920 3F2E 000C move.w -[A7], [A6 + 0xC]
00003924 486D FA1C pea.l [A5 - 0x5E4]
00003928 486E FFC4 pea.l [A6 - 0x3C]
0000392C 4EAD 010A jsr [A5 + 0x10A]
00003930 4FEF 000E lea.l A7, [A7 + 0xE]
00003934 2F2E 000E move.l -[A7], [A6 + 0xE]
00003938 3F2E 0012 move.w -[A7], [A6 + 0x12]
0000393C 486D FA26 pea.l [A5 - 0x5DA]
00003940 486E FF88 pea.l [A6 - 0x78]
00003944 4EAD 010A jsr [A5 + 0x10A]
00003948 4FEF 000E lea.l A7, [A7 + 0xE]
0000394C 2F2E 0014 move.l -[A7], [A6 + 0x14]
00003950 2F2E 0018 move.l -[A7], [A6 + 0x18]
00003954 486D FA30 pea.l [A5 - 0x5D0]
00003958 486E FF4C pea.l [A6 - 0xB4]
0000395C 4EAD 010A jsr [A5 + 0x10A]
00003960 4FEF 0010 lea.l A7, [A7 + 0x10]
00003964 486E FFC4 pea.l [A6 - 0x3C]
00003968 4EAD 0282 jsr [A5 + 0x282]
0000396C 588F addq.l A7, 4
0000396E 486E FF88 pea.l [A6 - 0x78]
00003972 2D40 FF48 move.l [A6 - 0xB8], D0
00003976 4EAD 0282 jsr [A5 + 0x282]
0000397A 588F addq.l A7, 4
0000397C 486E FF4C pea.l [A6 - 0xB4]
00003980 2D40 FF44 move.l [A6 - 0xBC], D0
00003984 4EAD 0282 jsr [A5 + 0x282]
00003988 588F addq.l A7, 4
0000398A 2F2E FF48 move.l -[A7], [A6 - 0xB8]
0000398E 2F2E FF44 move.l -[A7], [A6 - 0xBC]
00003992 2F00 move.l -[A7], D0
00003994 486D FA3A pea.l [A5 - 0x5C6]
00003998 A98B trap ParamText
0000399A 4267 clr.w -[A7]
0000399C 3F3C 0067 move.w -[A7], 0x67 /* 'g' */
000039A0 42A7 clr.l -[A7]
000039A2 A985 trap Alert
000039A4 301F move.w D0, [A7]+
000039A6 4E5E unlink A6
000039A8 4E75 rts
000039AA 4D4F chk.w D6, A7
000039AC 4E49 trap 9
000039AE 544F addq.w A7, 2
000039B0 5220 addq.b -[A0], 1
fn000039B2:
000039B2 4E56 FFFE link A6, -0x0002
000039B6 42A7 clr.l -[A7]
000039B8 3F3C 0066 move.w -[A7], 0x66 /* 'f' */
000039BC 486D A2D8 pea.l [A5 - 0x5D28]
000039C0 4878 FFFF pea.l [0xFFFFFFFF]
000039C4 A9BD trap GetNewWindow
000039C6 205F movea.l A0, [A7]+
000039C8 2B48 A378 move.l [A5 - 0x5C88], A0
000039CC 2F2D A378 move.l -[A7], [A5 - 0x5C88]
000039D0 A873 trap SetPort
000039D2 2F2D A7B0 move.l -[A7], [A5 - 0x5850]
000039D6 2F2D A7AC move.l -[A7], [A5 - 0x5854]
000039DA 486D A7C8 pea.l [A5 - 0x5838]
000039DE 2F2E 0008 move.l -[A7], [A6 + 0x8]
000039E2 486D FA3C pea.l [A5 - 0x5C4]
000039E6 486D A3E7 pea.l [A5 - 0x5C19]
000039EA 4EAD 010A jsr [A5 + 0x10A]
000039EE 4FEF 0018 lea.l A7, [A7 + 0x18]
000039F2 3F3C 0096 move.w -[A7], 0x96
000039F6 A887 trap TextFont
000039F8 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
000039FC A88A trap TextSize
000039FE 3F3C 0001 move.w -[A7], 0x1
00003A02 A888 trap TextFace
00003A04 486D A3E7 pea.l [A5 - 0x5C19]
00003A08 4EAD 0282 jsr [A5 + 0x282]
00003A0C 588F addq.l A7, 4
00003A0E 4267 clr.w -[A7]
00003A10 2F00 move.l -[A7], D0
00003A12 A88C trap StringWidth
00003A14 301F move.w D0, [A7]+
00003A16 3D40 FFFE move.w [A6 - 0x2], D0
00003A1A 303C 01A0 move.w D0, 0x1A0
00003A1E 906E FFFE sub.w D0, [A6 - 0x2]
00003A22 48C0 ext.l D0
00003A24 81FC 0002 divs.w D0, 0x2
00003A28 3F00 move.w -[A7], D0
00003A2A 3F3C 000F move.w -[A7], 0xF
00003A2E A893 trap MoveTo
00003A30 486D A3E7 pea.l [A5 - 0x5C19]
00003A34 A884 trap DrawString
00003A36 486D A380 pea.l [A5 - 0x5C80]
00003A3A 3F3C 0026 move.w -[A7], 0x26 /* '&' */
00003A3E 3F3C 0016 move.w -[A7], 0x16
00003A42 3F3C 017C move.w -[A7], 0x17C
00003A46 3F3C 0028 move.w -[A7], 0x28 /* '(' */
00003A4A A8A7 trap SetRect
00003A4C 486D A380 pea.l [A5 - 0x5C80]
00003A50 A8A1 trap FrameRect
00003A52 7014 moveq.l D0, 0x14
00003A54 3B40 A786 move.w [A5 - 0x587A], D0
00003A58 4878 0014 pea.l [0x00000014 /* __m68k_vec_div_zero__ */]
00003A5C 2F2D A7AC move.l -[A7], [A5 - 0x5854]
00003A60 4EAD 005A jsr [A5 + 0x5A]
00003A64 2B40 A77C move.l [A5 - 0x5884], D0
00003A68 0CAD 0000 C350 A7AC cmpi.l [A5 - 0x5854], 0xC350
00003A70 6C16 bge +0x18 /* 00003A88 */
00003A72 4878 000A pea.l [0x0000000A]
00003A76 2F2D A7AC move.l -[A7], [A5 - 0x5854]
00003A7A 4EAD 005A jsr [A5 + 0x5A]
00003A7E 2B40 A77C move.l [A5 - 0x5884], D0
00003A82 700A moveq.l D0, 0x0A
00003A84 3B40 A786 move.w [A5 - 0x587A], D0
label00003A88:
00003A88 0CAD 0000 2710 A7AC cmpi.l [A5 - 0x5854], 0x2710
00003A90 6C16 bge +0x18 /* 00003AA8 */
00003A92 4878 0004 pea.l [0x00000004 /* __m68k_vec_reset__ */]
00003A96 2F2D A7AC move.l -[A7], [A5 - 0x5854]
00003A9A 4EAD 005A jsr [A5 + 0x5A]
00003A9E 2B40 A77C move.l [A5 - 0x5884], D0
00003AA2 7004 moveq.l D0, 0x04
00003AA4 3B40 A786 move.w [A5 - 0x587A], D0
label00003AA8:
00003AA8 0CAD 0000 07D0 A7AC cmpi.l [A5 - 0x5854], 0x7D0
00003AB0 6C16 bge +0x18 /* 00003AC8 */
00003AB2 4878 0002 pea.l [0x00000002]
00003AB6 2F2D A7AC move.l -[A7], [A5 - 0x5854]
00003ABA 4EAD 005A jsr [A5 + 0x5A]
00003ABE 2B40 A77C move.l [A5 - 0x5884], D0
00003AC2 7002 moveq.l D0, 0x02
00003AC4 3B40 A786 move.w [A5 - 0x587A], D0
label00003AC8:
00003AC8 42AD A778 clr.l [A5 - 0x5888]
00003ACC 426D A784 clr.w [A5 - 0x587C]
00003AD0 486D 9CB4 pea.l [A5 - 0x634C]
00003AD4 A89D trap PenPat
00003AD6 4E5E unlink A6
00003AD8 4E75 rts
00003ADA 494E chk.w D4, A6
00003ADC 4954 chk.w D4, [A4]
00003ADE 5052 addq.w [A2], 8
00003AE0 4F47 chk.w D7, D7
fn00003AE2:
00003AE2 4E56 FFF8 link A6, -0x0008
00003AE6 302E 000A move.w D0, [A6 + 0xA]
00003AEA 5340 subq.w D0, 1
00003AEC C1FC muls.w D0, 0xFFFFFFFFFFFFFFFF
00003AEE 0154 bchg [A4], D0
00003AF0 48C0 ext.l D0
00003AF2 81EE 0008 divs.w D0, [A6 + 0x8]
00003AF6 322E 000A move.w D1, [A6 + 0xA]
00003AFA C3FC muls.w D1, 0xFFFFFFFFFFFFFFFF
00003AFC 0154 bchg [A4], D0
00003AFE 48C1 ext.l D1
00003B00 83EE 0008 divs.w D1, [A6 + 0x8]
00003B04 486E FFF8 pea.l [A6 - 0x8]
00003B08 0640 0027 addi.w D0, 0x27 /* ''' */
00003B0C 3F00 move.w -[A7], D0
00003B0E 3F3C 0017 move.w -[A7], 0x17
00003B12 0641 0027 addi.w D1, 0x27 /* ''' */
00003B16 3F01 move.w -[A7], D1
00003B18 3F3C 0027 move.w -[A7], 0x27 /* ''' */
00003B1C A8A7 trap SetRect
00003B1E 486E FFF8 pea.l [A6 - 0x8]
00003B22 A8A2 trap PaintRect
00003B24 4E5E unlink A6
00003B26 4E75 rts
00003B28 5550 subq.w [A0], 2
00003B2A 4441 neg.w D1
00003B2C 5445 addq.w D5, 2
00003B2E 5052 addq.w [A2], 8
fn00003B30:
00003B30 2F2D A378 move.l -[A7], [A5 - 0x5C88]
00003B34 A92D trap CloseWindow
00003B36 4E75 rts
fn00003B38:
00003B38 4E56 FE80 link A6, -0x0180
00003B3C 486D A7C8 pea.l [A5 - 0x5838]
00003B40 486D A3E7 pea.l [A5 - 0x5C19]
00003B44 4EBA C720 jsr [PC - 0x38E0 /* 00000266 */]
00003B48 508F addq.l A7, 8
00003B4A 486D A3E7 pea.l [A5 - 0x5C19]
00003B4E 4EAD 0282 jsr [A5 + 0x282]
00003B52 588F addq.l A7, 4
00003B54 486D A3E7 pea.l [A5 - 0x5C19]
00003B58 486E FE94 pea.l [A6 - 0x16C]
00003B5C 4EBA C708 jsr [PC - 0x38F8 /* 00000266 */]
00003B60 508F addq.l A7, 8
00003B62 41EE FE94 lea.l A0, [A6 - 0x16C]
00003B66 2D48 FFA6 move.l [A6 - 0x5A], A0
00003B6A 426E FFAA clr.w [A6 - 0x56]
00003B6E 422E FFAE clr.b [A6 - 0x52]
00003B72 426E FFB0 clr.w [A6 - 0x50]
00003B76 4267 clr.w -[A7]
00003B78 486E FF94 pea.l [A6 - 0x6C]
00003B7C 4267 clr.w -[A7]
00003B7E 4EAD 0242 jsr [A5 + 0x242]
00003B82 301F move.w D0, [A7]+
00003B84 3D40 FE92 move.w [A6 - 0x16E], D0
00003B88 701F moveq.l D0, 0x1F
00003B8A C06D A7A6 and.w D0, [A5 - 0x585A]
00003B8E 3D40 FE88 move.w [A6 - 0x178], D0
00003B92 302D A7A6 move.w D0, [A5 - 0x585A]
00003B96 EA40 asr D0.w, 5
00003B98 0240 000F andi.w D0, 0xF
00003B9C 3D40 FE86 move.w [A6 - 0x17A], D0
00003BA0 302D A7A6 move.w D0, [A5 - 0x585A]
00003BA4 7209 moveq.l D1, 0x09
00003BA6 E260 asr D0.w, D1
00003BA8 0240 007F andi.w D0, 0x7F
00003BAC 0640 07BC addi.w D0, 0x7BC
00003BB0 3D40 FE84 move.w [A6 - 0x17C], D0
00003BB4 426E FE8E clr.w [A6 - 0x172]
00003BB8 302D A7A4 move.w D0, [A5 - 0x585C]
00003BBC EA40 asr D0.w, 5
00003BBE 0240 003F andi.w D0, 0x3F /* '?' */
00003BC2 3D40 FE8C move.w [A6 - 0x174], D0
00003BC6 302D A7A4 move.w D0, [A5 - 0x585C]
00003BCA 720B moveq.l D1, 0x0B
00003BCC E260 asr D0.w, D1
00003BCE 0240 001F andi.w D0, 0x1F
00003BD2 3D40 FE8A move.w [A6 - 0x176], D0
00003BD6 701F moveq.l D0, 0x1F
00003BD8 C06D A7A4 and.w D0, [A5 - 0x585C]
00003BDC D040 add.w D0, D0
00003BDE 3D40 FE8E move.w [A6 - 0x172], D0
00003BE2 486E FE84 pea.l [A6 - 0x17C]
00003BE6 486E FE80 pea.l [A6 - 0x180]
00003BEA 4EAD 0222 jsr [A5 + 0x222]
00003BEE 2D6E FE80 FFDC move.l [A6 - 0x24], [A6 - 0x180]
00003BF4 2D6E FE80 FFE0 move.l [A6 - 0x20], [A6 - 0x180]
00003BFA 4267 clr.w -[A7]
00003BFC 486E FF94 pea.l [A6 - 0x6C]
00003C00 4267 clr.w -[A7]
00003C02 4EAD 024A jsr [A5 + 0x24A]
00003C06 301F move.w D0, [A7]+
00003C08 3D40 FE92 move.w [A6 - 0x16E], D0
00003C0C 4E5E unlink A6
00003C0E 4E75 rts
00003C10 5345 subq.w D5, 1
00003C12 5446 addq.w D6, 2
00003C14 494C chk.w D4, A4
00003C16 4554 chk.w D2, [A4]
fn00003C18:
00003C18 4E56 FEFA link A6, -0x0106
00003C1C 486E FEFC pea.l [A6 - 0x104]
00003C20 3F2D A38E move.w -[A7], [A5 - 0x5C72]
00003C24 4EBA FC9C jsr [PC - 0x364 /* 000038C2 */]
00003C28 5C8F addq.l A7, 6
00003C2A 202D A7B0 move.l D0, [A5 - 0x5850]
00003C2E B0AE FEFC cmp.l D0, [A6 - 0x104]
00003C32 6F2C ble +0x2E /* 00003C60 */
00003C34 486D A7C8 pea.l [A5 - 0x5838]
00003C38 486D FA56 pea.l [A5 - 0x5AA]
00003C3C 486D A3E7 pea.l [A5 - 0x5C19]
00003C40 4EAD 010A jsr [A5 + 0x10A]
00003C44 4FEF 000C lea.l A7, [A7 + 0xC]
00003C48 486D A3E7 pea.l [A5 - 0x5C19]
00003C4C 4EAD 0282 jsr [A5 + 0x282]
00003C50 588F addq.l A7, 4
00003C52 2F00 move.l -[A7], D0
00003C54 4EBA D2AE jsr [PC - 0x2D52 /* 00000F04 */]
00003C58 588F addq.l A7, 4
00003C5A 7001 moveq.l D0, 0x01
00003C5C 6000 011A bra +0x11C /* 00003D78 */
label00003C60:
00003C60 3F3C 8102 move.w -[A7], 0x8102
00003C64 486D A7C8 pea.l [A5 - 0x5838]
00003C68 4EBA E5E8 jsr [PC - 0x1A18 /* 00002252 */]
00003C6C 5C8F addq.l A7, 6
00003C6E 3B40 A7C6 move.w [A5 - 0x583A], D0
00003C72 0C6D FFFF A7C6 cmpi.w [A5 - 0x583A], 0xFFFF
00003C78 662C bne +0x2E /* 00003CA6 */
00003C7A 486D A7C8 pea.l [A5 - 0x5838]
00003C7E 486D FA94 pea.l [A5 - 0x56C]
00003C82 486D A3E7 pea.l [A5 - 0x5C19]
00003C86 4EAD 010A jsr [A5 + 0x10A]
00003C8A 4FEF 000C lea.l A7, [A7 + 0xC]
00003C8E 486D A3E7 pea.l [A5 - 0x5C19]
00003C92 4EAD 0282 jsr [A5 + 0x282]
00003C96 588F addq.l A7, 4
00003C98 2F00 move.l -[A7], D0
00003C9A 4EBA D268 jsr [PC - 0x2D98 /* 00000F04 */]
00003C9E 588F addq.l A7, 4
00003CA0 7001 moveq.l D0, 0x01
00003CA2 6000 00D4 bra +0xD6 /* 00003D78 */
label00003CA6:
00003CA6 486D A7C8 pea.l [A5 - 0x5838]
00003CAA 486D A3E7 pea.l [A5 - 0x5C19]
00003CAE 4EBA C5B6 jsr [PC - 0x3A4A /* 00000266 */]
00003CB2 508F addq.l A7, 8
00003CB4 486D A3E7 pea.l [A5 - 0x5C19]
00003CB8 4EAD 0282 jsr [A5 + 0x282]
00003CBC 588F addq.l A7, 4
00003CBE 4267 clr.w -[A7]
00003CC0 2F00 move.l -[A7], D0
00003CC2 4267 clr.w -[A7]
00003CC4 486D A3D2 pea.l [A5 - 0x5C2E]
00003CC8 4EAD 0252 jsr [A5 + 0x252]
00003CCC 301F move.w D0, [A7]+
00003CCE 2B7C 705A 4950 A3D6 move.l [A5 - 0x5C2A], 0x705A4950 /* 'pZIP' */
00003CD6 2B7C 5445 5854 A3D2 move.l [A5 - 0x5C2E], 0x54455854 /* 'TEXT' */
00003CDE 302D A782 move.w D0, [A5 - 0x587E]
00003CE2 48C0 ext.l D0
00003CE4 E580 asl D0, 2
00003CE6 41ED A5E8 lea.l A0, [A5 - 0x5A18]
00003CEA D1C0 add.l A0, D0
00003CEC 4A90 tst.l [A0]
00003CEE 6F3C ble +0x3E /* 00003D2C */
00003CF0 486E FF00 pea.l [A6 - 0x100]
00003CF4 486D FAD8 pea.l [A5 - 0x528]
00003CF8 486D A7C8 pea.l [A5 - 0x5838]
00003CFC 4EBA E5DE jsr [PC - 0x1A22 /* 000022DC */]
00003D00 4FEF 000C lea.l A7, [A7 + 0xC]
00003D04 0C40 0004 cmpi.w D0, 0x4
00003D08 6722 beq +0x24 /* 00003D2C */
00003D0A 486E FF00 pea.l [A6 - 0x100]
00003D0E 486D FADE pea.l [A5 - 0x522]
00003D12 486D A7C8 pea.l [A5 - 0x5838]
00003D16 4EBA E5C4 jsr [PC - 0x1A3C /* 000022DC */]
00003D1A 4FEF 000C lea.l A7, [A7 + 0xC]
00003D1E 0C40 0004 cmpi.w D0, 0x4
00003D22 6708 beq +0xA /* 00003D2C */
00003D24 2B7C 7042 494E A3D2 move.l [A5 - 0x5C2E], 0x7042494E /* 'pBIN' */
label00003D2C:
00003D2C 4267 clr.w -[A7]
00003D2E 486D A3E7 pea.l [A5 - 0x5C19]
00003D32 4267 clr.w -[A7]
00003D34 486D A3D2 pea.l [A5 - 0x5C2E]
00003D38 4EAD 0262 jsr [A5 + 0x262]
00003D3C 301F move.w D0, [A7]+
00003D3E 4267 clr.w -[A7]
00003D40 206D A7B0 movea.l A0, [A5 - 0x5850]
00003D44 4868 FFFF pea.l [A0 - 0x1]
00003D48 3F2D A7C6 move.w -[A7], [A5 - 0x583A]
00003D4C 4EBA E396 jsr [PC - 0x1C6A /* 000020E4 */]
00003D50 508F addq.l A7, 8
00003D52 3F3C 0001 move.w -[A7], 0x1
00003D56 486D FAE4 pea.l [A5 - 0x51C]
00003D5A 3F2D A7C6 move.w -[A7], [A5 - 0x583A]
00003D5E 4EBA E364 jsr [PC - 0x1C9C /* 000020C4 */]
00003D62 508F addq.l A7, 8
00003D64 3D40 FEFA move.w [A6 - 0x106], D0
00003D68 4267 clr.w -[A7]
00003D6A 42A7 clr.l -[A7]
00003D6C 3F2D A7C6 move.w -[A7], [A5 - 0x583A]
00003D70 4EBA E372 jsr [PC - 0x1C8E /* 000020E4 */]
00003D74 508F addq.l A7, 8
00003D76 7000 moveq.l D0, 0x00
label00003D78:
00003D78 4E5E unlink A6
00003D7A 4E75 rts
00003D7C 4352 chk.w D1, [A2]
00003D7E 4541 chk.w D2, D1
00003D80 5445 addq.w D5, 2
00003D82 4F55 chk.w D7, [A5]
fn00003D84:
00003D84 4E56 FEE0 link A6, -0x0120
00003D88 426D A798 clr.w [A5 - 0x5868]
00003D8C 426D A796 clr.w [A5 - 0x586A]
00003D90 426D A794 clr.w [A5 - 0x586C]
00003D94 42AD A7C0 clr.l [A5 - 0x5840]
00003D98 426D A7C4 clr.w [A5 - 0x583C]
00003D9C 2B6D A7B8 A7BC move.l [A5 - 0x5844], [A5 - 0x5848]
00003DA2 422D A79A clr.b [A5 - 0x5866]
00003DA6 70FF moveq.l D0, 0xFFFFFFFF
00003DA8 2B40 F710 move.l [A5 - 0x8F0], D0
00003DAC 0C6D 0007 A7A2 cmpi.w [A5 - 0x585E], 0x7
00003DB2 6C18 bge +0x1A /* 00003DCC */
00003DB4 4EBA FE62 jsr [PC - 0x19E /* 00003C18 */]
00003DB8 4A40 tst.w D0
00003DBA 6710 beq +0x12 /* 00003DCC */
00003DBC 4EBA D1CE jsr [PC - 0x2E32 /* 00000F8C */]
00003DC0 3F3C 0001 move.w -[A7], 0x1
00003DC4 A9C8 trap SysBeep
00003DC6 7001 moveq.l D0, 0x01
00003DC8 6000 03CE bra +0x3D0 /* 00004198 */
label00003DCC:
00003DCC 302D A7A2 move.w D0, [A5 - 0x585E]
00003DD0 4EAD 003A jsr [A5 + 0x3A]
00003DD4 0000 0006 ori.b D0, 0x6
00003DD8 0126 btst -[A6], D0
00003DDA 000E 0072 ori.b A6, 0x72 /* 'r' */
00003DDE 00AC 00AA 00A8 00A6 ori.l [A4 + 0xA6], 0xAA00A8
00003DE6 00DE ori.? [A6]+, 0xFFFFFFFFFFFFFFFF
00003DE8 486D A7C8 pea.l [A5 - 0x5838]
00003DEC 486D FAE6 pea.l [A5 - 0x51A]
00003DF0 486D A3E7 pea.l [A5 - 0x5C19]
00003DF4 4EAD 010A jsr [A5 + 0x10A]
00003DF8 4FEF 000C lea.l A7, [A7 + 0xC]
00003DFC 486D A3E7 pea.l [A5 - 0x5C19]
00003E00 4EAD 0282 jsr [A5 + 0x282]
00003E04 588F addq.l A7, 4
00003E06 2F00 move.l -[A7], D0
00003E08 4EBA D0FA jsr [PC - 0x2F06 /* 00000F04 */]
00003E0C 588F addq.l A7, 4
00003E0E 486D FAFA pea.l [A5 - 0x506]
00003E12 4EBA FB9E jsr [PC - 0x462 /* 000039B2 */]
00003E16 588F addq.l A7, 4
00003E18 601E bra +0x20 /* 00003E38 */
label00003E1A:
00003E1A 206D A7BC movea.l A0, [A5 - 0x5844]
00003E1E 52AD A7BC addq.l [A5 - 0x5844], 1
00003E22 10AE FEEB move.b [A0], [A6 - 0x115]
00003E26 526D A7C4 addq.w [A5 - 0x583C], 1
00003E2A 302D A7C4 move.w D0, [A5 - 0x583C]
00003E2E B06D A78A cmp.w D0, [A5 - 0x5876]
00003E32 6604 bne +0x6 /* 00003E38 */
00003E34 4EBA E880 jsr [PC - 0x1780 /* 000026B6 */]
label00003E38:
00003E38 486E FEEA pea.l [A6 - 0x116]
00003E3C 4EBA E790 jsr [PC - 0x1870 /* 000025CE */]
00003E40 588F addq.l A7, 4
00003E42 4A40 tst.w D0
00003E44 66D4 bne -0x2A /* 00003E1A */
00003E46 4EBA FCE8 jsr [PC - 0x318 /* 00003B30 */]
00003E4A 6000 00D8 bra +0xDA /* 00003F24 */
00003E4E 486D A7C8 pea.l [A5 - 0x5838]
00003E52 486D FB06 pea.l [A5 - 0x4FA]
00003E56 486D A3E7 pea.l [A5 - 0x5C19]
00003E5A 4EAD 010A jsr [A5 + 0x10A]
00003E5E 4FEF 000C lea.l A7, [A7 + 0xC]
00003E62 486D A3E7 pea.l [A5 - 0x5C19]
00003E66 4EAD 0282 jsr [A5 + 0x282]
00003E6A 588F addq.l A7, 4
00003E6C 2F00 move.l -[A7], D0
00003E6E 4EBA D094 jsr [PC - 0x2F6C /* 00000F04 */]
00003E72 588F addq.l A7, 4
00003E74 486D FB1A pea.l [A5 - 0x4E6]
00003E78 4EBA FB38 jsr [PC - 0x4C8 /* 000039B2 */]
00003E7C 588F addq.l A7, 4
00003E7E 4EBA ED34 jsr [PC - 0x12CC /* 00002BB4 */]
00003E82 4EBA FCAC jsr [PC - 0x354 /* 00003B30 */]
00003E86 6000 009C bra +0x9E /* 00003F24 */
00003E8A 486D A7C8 pea.l [A5 - 0x5838]
00003E8E 486D FB26 pea.l [A5 - 0x4DA]
00003E92 486D A3E7 pea.l [A5 - 0x5C19]
00003E96 4EAD 010A jsr [A5 + 0x10A]
00003E9A 4FEF 000C lea.l A7, [A7 + 0xC]
00003E9E 486D A3E7 pea.l [A5 - 0x5C19]
00003EA2 4EAD 0282 jsr [A5 + 0x282]
00003EA6 588F addq.l A7, 4
00003EA8 2F00 move.l -[A7], D0
00003EAA 4EBA D058 jsr [PC - 0x2FA8 /* 00000F04 */]
00003EAE 588F addq.l A7, 4
00003EB0 486D FB3A pea.l [A5 - 0x4C6]
00003EB4 4EBA FAFC jsr [PC - 0x504 /* 000039B2 */]
00003EB8 588F addq.l A7, 4
00003EBA 4EBA E902 jsr [PC - 0x16FE /* 000027BE */]
00003EBE 4EBA FC70 jsr [PC - 0x390 /* 00003B30 */]
00003EC2 6060 bra +0x62 /* 00003F24 */
00003EC4 486D A7C8 pea.l [A5 - 0x5838]
00003EC8 486D FB44 pea.l [A5 - 0x4BC]
00003ECC 486D A3E7 pea.l [A5 - 0x5C19]
00003ED0 4EAD 010A jsr [A5 + 0x10A]
00003ED4 4FEF 000C lea.l A7, [A7 + 0xC]
00003ED8 486D A3E7 pea.l [A5 - 0x5C19]
00003EDC 4EAD 0282 jsr [A5 + 0x282]
00003EE0 588F addq.l A7, 4
00003EE2 2F00 move.l -[A7], D0
00003EE4 4EBA D01E jsr [PC - 0x2FE2 /* 00000F04 */]
00003EE8 588F addq.l A7, 4
00003EEA 486D FB58 pea.l [A5 - 0x4A8]
00003EEE 4EBA FAC2 jsr [PC - 0x53E /* 000039B2 */]
00003EF2 588F addq.l A7, 4
00003EF4 4EBA F6BA jsr [PC - 0x946 /* 000035B0 */]
00003EF8 4EBA FC36 jsr [PC - 0x3CA /* 00003B30 */]
00003EFC 6026 bra +0x28 /* 00003F24 */
00003EFE 486D A7C8 pea.l [A5 - 0x5838]
00003F02 486D FB62 pea.l [A5 - 0x49E]
00003F06 486D A3E7 pea.l [A5 - 0x5C19]
00003F0A 4EAD 010A jsr [A5 + 0x10A]
00003F0E 4FEF 000C lea.l A7, [A7 + 0xC]
00003F12 486D A3E7 pea.l [A5 - 0x5C19]
00003F16 4EAD 0282 jsr [A5 + 0x282]
00003F1A 588F addq.l A7, 4
00003F1C 2F00 move.l -[A7], D0
00003F1E 4EBA CFE4 jsr [PC - 0x301C /* 00000F04 */]
00003F22 588F addq.l A7, 4
label00003F24:
00003F24 0C6D 0006 A7A2 cmpi.w [A5 - 0x585E], 0x6
00003F2A 6E00 026C bgt +0x26E /* 00004198 */
00003F2E 4A6D A7C4 tst.w [A5 - 0x583C]
00003F32 6F20 ble +0x22 /* 00003F54 */
00003F34 3F2D A7C4 move.w -[A7], [A5 - 0x583C]
00003F38 2F2D A7B8 move.l -[A7], [A5 - 0x5848]
00003F3C 4EBA C0C2 jsr [PC - 0x3F3E /* 00000000 */]
00003F40 5C8F addq.l A7, 6
00003F42 3F2D A7C4 move.w -[A7], [A5 - 0x583C]
00003F46 2F2D A7B8 move.l -[A7], [A5 - 0x5848]
00003F4A 3F2D A7C6 move.w -[A7], [A5 - 0x583A]
00003F4E 4EBA E174 jsr [PC - 0x1E8C /* 000020C4 */]
00003F52 508F addq.l A7, 8
label00003F54:
00003F54 70FF moveq.l D0, 0xFFFFFFFF
00003F56 90AD F710 sub.l D0, [A5 - 0x8F0]
00003F5A 2B40 F710 move.l [A5 - 0x8F0], D0
00003F5E 202D F710 move.l D0, [A5 - 0x8F0]
00003F62 B0AD A7A8 cmp.l D0, [A5 - 0x5858]
00003F66 672C beq +0x2E /* 00003F94 */
00003F68 2F2D F710 move.l -[A7], [A5 - 0x8F0]
00003F6C 2F2D A7A8 move.l -[A7], [A5 - 0x5858]
00003F70 486D FBA8 pea.l [A5 - 0x458]
00003F74 486D A3E7 pea.l [A5 - 0x5C19]
00003F78 4EAD 010A jsr [A5 + 0x10A]
00003F7C 4FEF 0010 lea.l A7, [A7 + 0x10]
00003F80 486D A3E7 pea.l [A5 - 0x5C19]
00003F84 4EAD 0282 jsr [A5 + 0x282]
00003F88 588F addq.l A7, 4
00003F8A 2F00 move.l -[A7], D0
00003F8C 4EBA CF76 jsr [PC - 0x308A /* 00000F04 */]
00003F90 588F addq.l A7, 4
00003F92 600A bra +0xC /* 00003F9E */
label00003F94:
00003F94 486D FBCE pea.l [A5 - 0x432]
00003F98 4EBA CF6A jsr [PC - 0x3096 /* 00000F04 */]
00003F9C 588F addq.l A7, 4
label00003F9E:
00003F9E 486E FEF2 pea.l [A6 - 0x10E]
00003FA2 486D FBDE pea.l [A5 - 0x422]
00003FA6 486D A7C8 pea.l [A5 - 0x5838]
00003FAA 4EBA E330 jsr [PC - 0x1CD0 /* 000022DC */]
00003FAE 4FEF 000C lea.l A7, [A7 + 0xC]
00003FB2 0C40 0004 cmpi.w D0, 0x4
00003FB6 671C beq +0x1E /* 00003FD4 */
00003FB8 486E FEF2 pea.l [A6 - 0x10E]
00003FBC 486D FBE4 pea.l [A5 - 0x41C]
00003FC0 486D A7C8 pea.l [A5 - 0x5838]
00003FC4 4EBA E316 jsr [PC - 0x1CEA /* 000022DC */]
00003FC8 4FEF 000C lea.l A7, [A7 + 0xC]
00003FCC 0C40 0004 cmpi.w D0, 0x4
00003FD0 6600 0084 bne +0x86 /* 00004056 */
label00003FD4:
00003FD4 42A7 clr.l -[A7]
00003FD6 42A7 clr.l -[A7]
00003FD8 3F2D A7C6 move.w -[A7], [A5 - 0x583A]
00003FDC 4EBA E106 jsr [PC - 0x1EFA /* 000020E4 */]
00003FE0 4FEF 000A lea.l A7, [A7 + 0xA]
00003FE4 3F3C 000C move.w -[A7], 0xC
00003FE8 486E FFF4 pea.l [A6 - 0xC]
00003FEC 3F2D A7C6 move.w -[A7], [A5 - 0x583A]
00003FF0 4EBA E0B2 jsr [PC - 0x1F4E /* 000020A4 */]
00003FF4 508F addq.l A7, 8
00003FF6 486E FFFA pea.l [A6 - 0x6]
00003FFA 4EBA E4D6 jsr [PC - 0x1B2A /* 000024D2 */]
00003FFE 588F addq.l A7, 4
00004000 486E FFFC pea.l [A6 - 0x4]
00004004 4EBA E4CC jsr [PC - 0x1B34 /* 000024D2 */]
00004008 588F addq.l A7, 4
0000400A 102E FFFE move.b D0, [A6 - 0x2]
0000400E 4880 ext.w D0
00004010 0240 0007 andi.w D0, 0x7
00004014 1D40 FFF3 move.b [A6 - 0xD], D0
00004018 102E FFF3 move.b D0, [A6 - 0xD]
0000401C 4880 ext.w D0
0000401E 5240 addq.w D0, 1
00004020 7201 moveq.l D1, 0x01
00004022 E169 lsl D1.w, D0
00004024 3D41 FEF0 move.w [A6 - 0x110], D1
00004028 3F2E FEF0 move.w -[A7], [A6 - 0x110]
0000402C 3F2E FFFC move.w -[A7], [A6 - 0x4]
00004030 3F2E FFFA move.w -[A7], [A6 - 0x6]
00004034 486D FBEA pea.l [A5 - 0x416]
00004038 486D A3E7 pea.l [A5 - 0x5C19]
0000403C 4EAD 010A jsr [A5 + 0x10A]
00004040 4FEF 000E lea.l A7, [A7 + 0xE]
00004044 486D A3E7 pea.l [A5 - 0x5C19]
00004048 4EAD 0282 jsr [A5 + 0x282]
0000404C 588F addq.l A7, 4
0000404E 2F00 move.l -[A7], D0
00004050 4EBA CEB2 jsr [PC - 0x314E /* 00000F04 */]
00004054 588F addq.l A7, 4
label00004056:
00004056 3F2D A7C6 move.w -[A7], [A5 - 0x583A]
0000405A 4EBA E014 jsr [PC - 0x1FEC /* 00002070 */]
0000405E 548F addq.l A7, 2
00004060 4A2D A3E3 tst.b [A5 - 0x5C1D]
00004064 6700 012A beq +0x12C /* 00004190 */
00004068 302D A782 move.w D0, [A5 - 0x587E]
0000406C 48C0 ext.l D0
0000406E E580 asl D0, 2
00004070 41ED A5E8 lea.l A0, [A5 - 0x5A18]
00004074 D1C0 add.l A0, D0
00004076 4A90 tst.l [A0]
00004078 6C00 0116 bge +0x118 /* 00004190 */
0000407C 486E FEEC pea.l [A6 - 0x114]
00004080 3F2D A38E move.w -[A7], [A5 - 0x5C72]
00004084 4EBA F83C jsr [PC - 0x7C4 /* 000038C2 */]
00004088 5C8F addq.l A7, 6
0000408A 202D A7B0 move.l D0, [A5 - 0x5850]
0000408E B0AE FEEC cmp.l D0, [A6 - 0x114]
00004092 6F0E ble +0x10 /* 000040A2 */
00004094 486D FC26 pea.l [A5 - 0x3DA]
00004098 4EBA CE6A jsr [PC - 0x3196 /* 00000F04 */]
0000409C 588F addq.l A7, 4
0000409E 6000 00F0 bra +0xF2 /* 00004190 */
label000040A2:
000040A2 486D FC6E pea.l [A5 - 0x392]
000040A6 4EBA CE5C jsr [PC - 0x31A4 /* 00000F04 */]
000040AA 588F addq.l A7, 4
000040AC 486D FC9E pea.l [A5 - 0x362]
000040B0 486D A7C8 pea.l [A5 - 0x5838]
000040B4 4EAD 016A jsr [A5 + 0x16A]
000040B8 508F addq.l A7, 8
000040BA 2D40 FEE6 move.l [A6 - 0x11A], D0
000040BE 486D FCAE pea.l [A5 - 0x352]
000040C2 486D FCA2 pea.l [A5 - 0x35E]
000040C6 4EAD 016A jsr [A5 + 0x16A]
000040CA 508F addq.l A7, 8
000040CC 2D40 FEE2 move.l [A6 - 0x11E], D0
000040D0 4AAE FEE2 tst.l [A6 - 0x11E]
000040D4 6700 00B0 beq +0xB2 /* 00004186 */
000040D8 486D FCB2 pea.l [A5 - 0x34E]
000040DC 486D A3E7 pea.l [A5 - 0x5C19]
000040E0 4EBA C184 jsr [PC - 0x3E7C /* 00000266 */]
000040E4 508F addq.l A7, 8
000040E6 486D A3E7 pea.l [A5 - 0x5C19]
000040EA 4EAD 0282 jsr [A5 + 0x282]
000040EE 588F addq.l A7, 4
000040F0 4267 clr.w -[A7]
000040F2 2F00 move.l -[A7], D0
000040F4 4267 clr.w -[A7]
000040F6 486D A3D2 pea.l [A5 - 0x5C2E]
000040FA 4EAD 0252 jsr [A5 + 0x252]
000040FE 301F move.w D0, [A7]+
00004100 2B7C 705A 4950 A3D6 move.l [A5 - 0x5C2A], 0x705A4950 /* 'pZIP' */
00004108 2B7C 5445 5854 A3D2 move.l [A5 - 0x5C2E], 0x54455854 /* 'TEXT' */
00004110 4267 clr.w -[A7]
00004112 486D A3E7 pea.l [A5 - 0x5C19]
00004116 4267 clr.w -[A7]
00004118 486D A3D2 pea.l [A5 - 0x5C2E]
0000411C 4EAD 0262 jsr [A5 + 0x262]
00004120 301F move.w D0, [A7]+
00004122 6016 bra +0x18 /* 0000413A */
label00004124:
00004124 0C6E 000A FEE0 cmpi.w [A6 - 0x120], 0xA /* '\n' */
0000412A 670E beq +0x10 /* 0000413A */
0000412C 2F2E FEE2 move.l -[A7], [A6 - 0x11E]
00004130 3F2E FEE0 move.w -[A7], [A6 - 0x120]
00004134 4EAD 0172 jsr [A5 + 0x172]
00004138 5C8F addq.l A7, 6
label0000413A:
0000413A 2F2E FEE6 move.l -[A7], [A6 - 0x11A]
0000413E 4EAD 0152 jsr [A5 + 0x152]
00004142 588F addq.l A7, 4
00004144 3D40 FEE0 move.w [A6 - 0x120], D0
00004148 0C40 FFFF cmpi.w D0, 0xFFFF
0000414C 66D6 bne -0x28 /* 00004124 */
0000414E 2F2E FEE6 move.l -[A7], [A6 - 0x11A]
00004152 4EAD 0162 jsr [A5 + 0x162]
00004156 588F addq.l A7, 4
00004158 2F2E FEE2 move.l -[A7], [A6 - 0x11E]
0000415C 4EAD 0162 jsr [A5 + 0x162]
00004160 588F addq.l A7, 4
00004162 486D A7C8 pea.l [A5 - 0x5838]
00004166 4EBA E086 jsr [PC - 0x1F7A /* 000021EE */]
0000416A 588F addq.l A7, 4
0000416C 486D A7C8 pea.l [A5 - 0x5838]
00004170 486D FCBE pea.l [A5 - 0x342]
00004174 4EBA E002 jsr [PC - 0x1FFE /* 00002178 */]
00004178 508F addq.l A7, 8
0000417A 486D FCCA pea.l [A5 - 0x336]
0000417E 4EBA CD84 jsr [PC - 0x327C /* 00000F04 */]
00004182 588F addq.l A7, 4
00004184 600A bra +0xC /* 00004190 */
label00004186:
00004186 486D FCDA pea.l [A5 - 0x326]
0000418A 4EBA CD78 jsr [PC - 0x3288 /* 00000F04 */]
0000418E 588F addq.l A7, 4
label00004190:
00004190 4EBA F9A6 jsr [PC - 0x65A /* 00003B38 */]
00004194 4EBA CDF6 jsr [PC - 0x320A /* 00000F8C */]
label00004198:
00004198 4E5E unlink A6
0000419A 4E75 rts
0000419C 4558 chk.w D2, [A0]+
0000419E 5452 addq.w [A2], 2
000041A0 4143 chk.w D0, D3
000041A2 544D addq.w A5, 2
fn000041A4:
000041A4 4E56 FF00 link A6, -0x0100
000041A8 3F3C 001A move.w -[A7], 0x1A
000041AC 486D A79E pea.l [A5 - 0x5862]
000041B0 3F2D A79C move.w -[A7], [A5 - 0x5864]
000041B4 4EBA DEEE jsr [PC - 0x2112 /* 000020A4 */]
000041B8 508F addq.l A7, 8
000041BA 486D A7B4 pea.l [A5 - 0x584C]
000041BE 4EBA E312 jsr [PC - 0x1CEE /* 000024D2 */]
000041C2 588F addq.l A7, 4
000041C4 486D A7B6 pea.l [A5 - 0x584A]
000041C8 4EBA E308 jsr [PC - 0x1CF8 /* 000024D2 */]
000041CC 588F addq.l A7, 4
000041CE 486D A7AC pea.l [A5 - 0x5854]
000041D2 4EBA E332 jsr [PC - 0x1CCE /* 00002506 */]
000041D6 588F addq.l A7, 4
000041D8 486D A7B0 pea.l [A5 - 0x5850]
000041DC 4EBA E328 jsr [PC - 0x1CD8 /* 00002506 */]
000041E0 588F addq.l A7, 4
000041E2 486D A7A4 pea.l [A5 - 0x585C]
000041E6 4EBA E2EA jsr [PC - 0x1D16 /* 000024D2 */]
000041EA 588F addq.l A7, 4
000041EC 486D A7A6 pea.l [A5 - 0x585A]
000041F0 4EBA E2E0 jsr [PC - 0x1D20 /* 000024D2 */]
000041F4 588F addq.l A7, 4
000041F6 486D A7A2 pea.l [A5 - 0x585E]
000041FA 4EBA E2D6 jsr [PC - 0x1D2A /* 000024D2 */]
000041FE 588F addq.l A7, 4
00004200 486D A7A0 pea.l [A5 - 0x5860]
00004204 4EBA E2CC jsr [PC - 0x1D34 /* 000024D2 */]
00004208 588F addq.l A7, 4
0000420A 486D A7A8 pea.l [A5 - 0x5858]
0000420E 4EBA E2F6 jsr [PC - 0x1D0A /* 00002506 */]
00004212 588F addq.l A7, 4
00004214 486D A7C8 pea.l [A5 - 0x5838]
00004218 3F2D A7B4 move.w -[A7], [A5 - 0x584C]
0000421C 4EBA ECDE jsr [PC - 0x1322 /* 00002EFC */]
00004220 5C8F addq.l A7, 6
00004222 486D A8C8 pea.l [A5 - 0x5738]
00004226 3F2D A7B6 move.w -[A7], [A5 - 0x584A]
0000422A 4EBA ECD0 jsr [PC - 0x1330 /* 00002EFC */]
0000422E 5C8F addq.l A7, 6
00004230 4A2D A3E6 tst.b [A5 - 0x5C1A]
00004234 6748 beq +0x4A /* 0000427E */
00004236 302D A782 move.w D0, [A5 - 0x587E]
0000423A 48C0 ext.l D0
0000423C E580 asl D0, 2
0000423E 41ED A5E8 lea.l A0, [A5 - 0x5A18]
00004242 D1C0 add.l A0, D0
00004244 4A90 tst.l [A0]
00004246 6F36 ble +0x38 /* 0000427E */
00004248 486E FF00 pea.l [A6 - 0x100]
0000424C 486D FD22 pea.l [A5 - 0x2DE]
00004250 486D A7C8 pea.l [A5 - 0x5838]
00004254 4EBA E086 jsr [PC - 0x1F7A /* 000022DC */]
00004258 4FEF 000C lea.l A7, [A7 + 0xC]
0000425C 0C40 0004 cmpi.w D0, 0x4
00004260 671C beq +0x1E /* 0000427E */
00004262 486E FF00 pea.l [A6 - 0x100]
00004266 486D FD28 pea.l [A5 - 0x2D8]
0000426A 486D A7C8 pea.l [A5 - 0x5838]
0000426E 4EBA E06C jsr [PC - 0x1F94 /* 000022DC */]
00004272 4FEF 000C lea.l A7, [A7 + 0xC]
00004276 0C40 0004 cmpi.w D0, 0x4
0000427A 6600 0082 bne +0x84 /* 000042FE */
label0000427E:
0000427E 4A2D A3E5 tst.b [A5 - 0x5C1B]
00004282 6700 0076 beq +0x78 /* 000042FA */
00004286 486D FD2E pea.l [A5 - 0x2D2]
0000428A 486D A3E7 pea.l [A5 - 0x5C19]
0000428E 4EBA BFD6 jsr [PC - 0x402A /* 00000266 */]
00004292 508F addq.l A7, 8
00004294 486D A7C8 pea.l [A5 - 0x5838]
00004298 486D A3E7 pea.l [A5 - 0x5C19]
0000429C 4EBA BF72 jsr [PC - 0x408E /* 00000210 */]
000042A0 508F addq.l A7, 8
000042A2 486D FD3A pea.l [A5 - 0x2C6]
000042A6 486D A3E7 pea.l [A5 - 0x5C19]
000042AA 4EBA BF64 jsr [PC - 0x409C /* 00000210 */]
000042AE 508F addq.l A7, 8
000042B0 486D A3E7 pea.l [A5 - 0x5C19]
000042B4 4EAD 0282 jsr [A5 + 0x282]
000042B8 588F addq.l A7, 4
000042BA 2F00 move.l -[A7], D0
000042BC 486D FD3E pea.l [A5 - 0x2C2]
000042C0 486D FD40 pea.l [A5 - 0x2C0]
000042C4 486D FD42 pea.l [A5 - 0x2BE]
000042C8 A98B trap ParamText
000042CA A850 trap InitCursor
000042CC 4267 clr.w -[A7]
000042CE 3F3C 0066 move.w -[A7], 0x66 /* 'f' */
000042D2 42A7 clr.l -[A7]
000042D4 A985 trap Alert
000042D6 301F move.w D0, [A7]+
000042D8 0C40 0001 cmpi.w D0, 0x1
000042DC 6620 bne +0x22 /* 000042FE */
000042DE 42A7 clr.l -[A7]
000042E0 3F3C 0004 move.w -[A7], 0x4
000042E4 A9B9 trap GetCursor
000042E6 205F movea.l A0, [A7]+
000042E8 2B48 A2D4 move.l [A5 - 0x5D2C], A0
000042EC 206D A2D4 movea.l A0, [A5 - 0x5D2C]
000042F0 2F10 move.l -[A7], [A0]
000042F2 A851 trap SetCursor
000042F4 4EBA FA8E jsr [PC - 0x572 /* 00003D84 */]
000042F8 6004 bra +0x6 /* 000042FE */
label000042FA:
000042FA 4EBA FA88 jsr [PC - 0x578 /* 00003D84 */]
label000042FE:
000042FE 4E5E unlink A6
00004300 4E75 rts
00004302 5052 addq.w [A2], 8
00004304 4F43 chk.w D7, D3
00004306 4553 chk.w D2, [A3]
00004308 534C subq.w A4, 1
fn0000430A:
0000430A 4E56 FCC6 link A6, -0x033A
0000430E 2F0A move.l -[A7], A2
00004310 3F3C 002A move.w -[A7], 0x2A /* '*' */
00004314 486E FFD6 pea.l [A6 - 0x2A]
00004318 3F2D A79C move.w -[A7], [A5 - 0x5864]
0000431C 4EBA DD86 jsr [PC - 0x227A /* 000020A4 */]
00004320 508F addq.l A7, 8
00004322 486E FFDC pea.l [A6 - 0x24]
00004326 4EBA E1AA jsr [PC - 0x1E56 /* 000024D2 */]
0000432A 588F addq.l A7, 4
0000432C 486E FFE6 pea.l [A6 - 0x1A]
00004330 4EBA E1D4 jsr [PC - 0x1E2C /* 00002506 */]
00004334 588F addq.l A7, 4
00004336 486E FFEA pea.l [A6 - 0x16]
0000433A 4EBA E1CA jsr [PC - 0x1E36 /* 00002506 */]
0000433E 588F addq.l A7, 4
00004340 486E FFDE pea.l [A6 - 0x22]
00004344 4EBA E18C jsr [PC - 0x1E74 /* 000024D2 */]
00004348 588F addq.l A7, 4
0000434A 486E FFE0 pea.l [A6 - 0x20]
0000434E 4EBA E182 jsr [PC - 0x1E7E /* 000024D2 */]
00004352 588F addq.l A7, 4
00004354 486E FFE2 pea.l [A6 - 0x1E]
00004358 4EBA E1AC jsr [PC - 0x1E54 /* 00002506 */]
0000435C 588F addq.l A7, 4
0000435E 486E FFF6 pea.l [A6 - 0xA]
00004362 4EBA E16E jsr [PC - 0x1E92 /* 000024D2 */]
00004366 588F addq.l A7, 4
00004368 486E FFEE pea.l [A6 - 0x12]
0000436C 4EBA E164 jsr [PC - 0x1E9C /* 000024D2 */]
00004370 588F addq.l A7, 4
00004372 486E FFF0 pea.l [A6 - 0x10]
00004376 4EBA E15A jsr [PC - 0x1EA6 /* 000024D2 */]
0000437A 588F addq.l A7, 4
0000437C 486E FFF2 pea.l [A6 - 0xE]
00004380 4EBA E150 jsr [PC - 0x1EB0 /* 000024D2 */]
00004384 588F addq.l A7, 4
00004386 486E FFFC pea.l [A6 - 0x4]
0000438A 4EBA E17A jsr [PC - 0x1E86 /* 00002506 */]
0000438E 588F addq.l A7, 4
00004390 486E FED6 pea.l [A6 - 0x12A]
00004394 3F2E FFEE move.w -[A7], [A6 - 0x12]
00004398 4EBA EB62 jsr [PC - 0x149E /* 00002EFC */]
0000439C 5C8F addq.l A7, 6
0000439E 486E FDD6 pea.l [A6 - 0x22A]
000043A2 3F2E FFF0 move.w -[A7], [A6 - 0x10]
000043A6 4EBA EB54 jsr [PC - 0x14AC /* 00002EFC */]
000043AA 5C8F addq.l A7, 6
000043AC 486E FCD6 pea.l [A6 - 0x32A]
000043B0 3F2E FFF2 move.w -[A7], [A6 - 0xE]
000043B4 4EBA EB46 jsr [PC - 0x14BA /* 00002EFC */]
000043B8 5C8F addq.l A7, 6
000043BA 0C6E 0006 FFDC cmpi.w [A6 - 0x24], 0x6
000043C0 6306 bls +0x8 /* 000043C8 */
000043C2 7007 moveq.l D0, 0x07
000043C4 3D40 FFDC move.w [A6 - 0x24], D0
label000043C8:
000043C8 701F moveq.l D0, 0x1F
000043CA C06E FFE0 and.w D0, [A6 - 0x20]
000043CE 3D40 FCD0 move.w [A6 - 0x330], D0
000043D2 302E FFE0 move.w D0, [A6 - 0x20]
000043D6 EA48 lsr D0.w, 5
000043D8 0240 000F andi.w D0, 0xF
000043DC 3D40 FCCE move.w [A6 - 0x332], D0
000043E0 302E FFE0 move.w D0, [A6 - 0x20]
000043E4 7209 moveq.l D1, 0x09
000043E6 E268 lsr D0.w, D1
000043E8 0240 007F andi.w D0, 0x7F
000043EC 0640 0050 addi.w D0, 0x50 /* 'P' */
000043F0 3D40 FCCC move.w [A6 - 0x334], D0
000043F4 302E FFDE move.w D0, [A6 - 0x22]
000043F8 720B moveq.l D1, 0x0B
000043FA E268 lsr D0.w, D1
000043FC 0240 001F andi.w D0, 0x1F
00004400 3D40 FCCA move.w [A6 - 0x336], D0
00004404 302E FFDE move.w D0, [A6 - 0x22]
00004408 EA48 lsr D0.w, 5
0000440A 0240 003F andi.w D0, 0x3F /* '?' */
0000440E 3D40 FCC8 move.w [A6 - 0x338], D0
00004412 701F moveq.l D0, 0x1F
00004414 C06E FFDE and.w D0, [A6 - 0x22]
00004418 D040 add.w D0, D0
0000441A 3D40 FCC6 move.w [A6 - 0x33A], D0
0000441E 302E FFDC move.w D0, [A6 - 0x24]
00004422 4840 swap.w D0
00004424 4240 clr.w D0
00004426 4840 swap.w D0
00004428 E580 asl D0, 2
0000442A 41ED F932 lea.l A0, [A5 - 0x6CE]
0000442E D1C0 add.l A0, D0
00004430 302E FCCE move.w D0, [A6 - 0x332]
00004434 5340 subq.w D0, 1
00004436 48C0 ext.l D0
00004438 E580 asl D0, 2
0000443A 43ED F95A lea.l A1, [A5 - 0x6A6]
0000443E D3C0 add.l A1, D0
00004440 302E FFF6 move.w D0, [A6 - 0xA]
00004444 4840 swap.w D0
00004446 4240 clr.w D0
00004448 4840 swap.w D0
0000444A E580 asl D0, 2
0000444C 45ED F952 lea.l A2, [A5 - 0x6AE]
00004450 D5C0 add.l A2, D0
00004452 2F12 move.l -[A7], [A2]
00004454 2F2E FFE2 move.l -[A7], [A6 - 0x1E]
00004458 3F2E FCC6 move.w -[A7], [A6 - 0x33A]
0000445C 3F2E FCC8 move.w -[A7], [A6 - 0x338]
00004460 3F2E FCCA move.w -[A7], [A6 - 0x336]
00004464 3F2E FCCC move.w -[A7], [A6 - 0x334]
00004468 2F11 move.l -[A7], [A1]
0000446A 3F2E FCD0 move.w -[A7], [A6 - 0x330]
0000446E 2F2E FFEA move.l -[A7], [A6 - 0x16]
00004472 2F2E FFE6 move.l -[A7], [A6 - 0x1A]
00004476 2F10 move.l -[A7], [A0]
00004478 486E FED6 pea.l [A6 - 0x12A]
0000447C 486D FDDC pea.l [A5 - 0x224]
00004480 486D A3E7 pea.l [A5 - 0x5C19]
00004484 4EAD 010A jsr [A5 + 0x10A]
00004488 4FEF 002E lea.l A7, [A7 + 0x2E]
0000448C 486D A3E7 pea.l [A5 - 0x5C19]
00004490 4EAD 0282 jsr [A5 + 0x282]
00004494 588F addq.l A7, 4
00004496 2F00 move.l -[A7], D0
00004498 4EBA CA6A jsr [PC - 0x3596 /* 00000F04 */]
0000449C 588F addq.l A7, 4
0000449E 202E FFFC move.l D0, [A6 - 0x4]
000044A2 5280 addq.l D0, 1
000044A4 2D40 FCD2 move.l [A6 - 0x32E], D0
000044A8 0C6E 0001 FFF6 cmpi.w [A6 - 0xA], 0x1
000044AE 660A bne +0xC /* 000044BA */
000044B0 202E FCD2 move.l D0, [A6 - 0x32E]
000044B4 4480 neg.l D0
000044B6 2D40 FCD2 move.l [A6 - 0x32E], D0
label000044BA:
000044BA 202E FCD2 move.l D0, [A6 - 0x32E]
000044BE 245F movea.l A2, [A7]+
000044C0 4E5E unlink A6
000044C2 4E75 rts
000044C4 5052 addq.w [A2], 8
000044C6 4F43 chk.w D7, D3
000044C8 4553 chk.w D2, [A3]
000044CA 5343 subq.w D3, 1
fn000044CC:
000044CC 4E56 F7E6 link A6, -0x081A
000044D0 3F3C 0001 move.w -[A7], 0x1
000044D4 4878 0005 pea.l [0x00000005]
000044D8 3F2D A79C move.w -[A7], [A5 - 0x5864]
000044DC 4EBA DC06 jsr [PC - 0x23FA /* 000020E4 */]
000044E0 508F addq.l A7, 8
000044E2 3F3C 0012 move.w -[A7], 0x12
000044E6 486E FFEE pea.l [A6 - 0x12]
000044EA 3F2D A79C move.w -[A7], [A5 - 0x5864]
000044EE 4EBA DBB4 jsr [PC - 0x244C /* 000020A4 */]
000044F2 508F addq.l A7, 8
000044F4 486E FFF4 pea.l [A6 - 0xC]
000044F8 4EBA DFD8 jsr [PC - 0x2028 /* 000024D2 */]
000044FC 588F addq.l A7, 4
000044FE 486E FFFA pea.l [A6 - 0x6]
00004502 4EBA E002 jsr [PC - 0x1FFE /* 00002506 */]
00004506 588F addq.l A7, 4
00004508 486E FFFE pea.l [A6 - 0x2]
0000450C 4EBA DFC4 jsr [PC - 0x203C /* 000024D2 */]
00004510 588F addq.l A7, 4
00004512 486E F7EE pea.l [A6 - 0x812]
00004516 3F2E FFFE move.w -[A7], [A6 - 0x2]
0000451A 4EBA E9E0 jsr [PC - 0x1620 /* 00002EFC */]
0000451E 5C8F addq.l A7, 6
00004520 7001 moveq.l D0, 0x01
00004522 1B40 A3E4 move.b [A5 - 0x5C1C], D0
00004526 4878 FFFF pea.l [0xFFFFFFFF]
0000452A 3F3C 0065 move.w -[A7], 0x65 /* 'e' */
0000452E 4EBA C8A0 jsr [PC - 0x3760 /* 00000DD0 */]
00004532 5C8F addq.l A7, 6
00004534 2B40 A374 move.l [A5 - 0x5C8C], D0
00004538 2F2D A374 move.l -[A7], [A5 - 0x5C8C]
0000453C 486D A392 pea.l [A5 - 0x5C6E]
00004540 A91A trap SetWTitle
00004542 4267 clr.w -[A7]
00004544 3F3C 0001 move.w -[A7], 0x1
00004548 3F3C 0009 move.w -[A7], 0x9 /* '\t' */
0000454C 3F3C 0096 move.w -[A7], 0x96
00004550 2F2D A374 move.l -[A7], [A5 - 0x5C8C]
00004554 4EBA C49A jsr [PC - 0x3B66 /* 000009F0 */]
00004558 4FEF 000C lea.l A7, [A7 + 0xC]
0000455C 7000 moveq.l D0, 0x00
0000455E 302E FFFE move.w D0, [A6 - 0x2]
00004562 2F00 move.l -[A7], D0
00004564 486E F7EE pea.l [A6 - 0x812]
00004568 4EBA C8A6 jsr [PC - 0x375A /* 00000E10 */]
0000456C 508F addq.l A7, 8
0000456E 4267 clr.w -[A7]
00004570 2F2E FFFA move.l -[A7], [A6 - 0x6]
00004574 3F2D A79C move.w -[A7], [A5 - 0x5864]
00004578 4EBA DB6A jsr [PC - 0x2496 /* 000020E4 */]
0000457C 508F addq.l A7, 8
0000457E 302E FFF4 move.w D0, [A6 - 0xC]
00004582 4E5E unlink A6
00004584 4E75 rts
00004586 5052 addq.w [A2], 8
00004588 4F43 chk.w D7, D3
0000458A 4553 chk.w D2, [A3]
0000458C 5345 subq.w D5, 1
fn0000458E:
0000458E 4E56 FFFC link A6, -0x0004
00004592 2D6E 0008 FFFC move.l [A6 - 0x4], [A6 + 0x8]
00004598 4AAE FFFC tst.l [A6 - 0x4]
0000459C 6C0A bge +0xC /* 000045A8 */
0000459E 202E FFFC move.l D0, [A6 - 0x4]
000045A2 4480 neg.l D0
000045A4 2D40 FFFC move.l [A6 - 0x4], D0
label000045A8:
000045A8 202E FFFC move.l D0, [A6 - 0x4]
000045AC 4E5E unlink A6
000045AE 4E75 rts
000045B0 4C41 4253 movem.l A6,A1,D6,D4,D1,D0, D1
000045B4 2020 move.l D0, -[A0]
000045B6 2020 move.l D0, -[A0]
fn000045B8:
000045B8 4E56 FFFC link A6, -0x0004
000045BC 4A2D A3E4 tst.b [A5 - 0x5C1C]
000045C0 6642 bne +0x44 /* 00004604 */
000045C2 3F3C 0001 move.w -[A7], 0x1
000045C6 A9C8 trap SysBeep
000045C8 486D FE18 pea.l [A5 - 0x1E8]
000045CC 486D A3E7 pea.l [A5 - 0x5C19]
000045D0 4EBA BC94 jsr [PC - 0x436C /* 00000266 */]
000045D4 508F addq.l A7, 8
000045D6 486D A3E7 pea.l [A5 - 0x5C19]
000045DA 4EAD 0282 jsr [A5 + 0x282]
000045DE 588F addq.l A7, 4
000045E0 2F00 move.l -[A7], D0
000045E2 486D FE40 pea.l [A5 - 0x1C0]
000045E6 486D FE42 pea.l [A5 - 0x1BE]
000045EA 486D FE44 pea.l [A5 - 0x1BC]
000045EE A98B trap ParamText
000045F0 4267 clr.w -[A7]
000045F2 A938 trap HiliteMenu
000045F4 4267 clr.w -[A7]
000045F6 3F3C 0065 move.w -[A7], 0x65 /* 'e' */
000045FA 42A7 clr.l -[A7]
000045FC A986 trap StopAlert
000045FE 301F move.w D0, [A7]+
00004600 6000 0134 bra +0x136 /* 00004736 */
label00004604:
00004604 4A2D A3E2 tst.b [A5 - 0x5C1E]
00004608 6742 beq +0x44 /* 0000464C */
0000460A 3F3C 0001 move.w -[A7], 0x1
0000460E A9C8 trap SysBeep
00004610 486D FE46 pea.l [A5 - 0x1BA]
00004614 486D A3E7 pea.l [A5 - 0x5C19]
00004618 4EBA BC4C jsr [PC - 0x43B4 /* 00000266 */]
0000461C 508F addq.l A7, 8
0000461E 486D A3E7 pea.l [A5 - 0x5C19]
00004622 4EAD 0282 jsr [A5 + 0x282]
00004626 588F addq.l A7, 4
00004628 2F00 move.l -[A7], D0
0000462A 486D FE74 pea.l [A5 - 0x18C]
0000462E 486D FE76 pea.l [A5 - 0x18A]
00004632 486D FE78 pea.l [A5 - 0x188]
00004636 A98B trap ParamText
00004638 4267 clr.w -[A7]
0000463A A938 trap HiliteMenu
0000463C 4267 clr.w -[A7]
0000463E 3F3C 0065 move.w -[A7], 0x65 /* 'e' */
00004642 42A7 clr.l -[A7]
00004644 A986 trap StopAlert
00004646 301F move.w D0, [A7]+
00004648 6000 00EC bra +0xEE /* 00004736 */
label0000464C:
0000464C 42A7 clr.l -[A7]
0000464E 3F3C 0004 move.w -[A7], 0x4
00004652 A9B9 trap GetCursor
00004654 205F movea.l A0, [A7]+
00004656 2B48 A2D4 move.l [A5 - 0x5D2C], A0
0000465A 206D A2D4 movea.l A0, [A5 - 0x5D2C]
0000465E 2F10 move.l -[A7], [A0]
00004660 A851 trap SetCursor
00004662 426D A782 clr.w [A5 - 0x587E]
00004666 6056 bra +0x58 /* 000046BE */
label00004668:
00004668 302D A782 move.w D0, [A5 - 0x587E]
0000466C 48C0 ext.l D0
0000466E E580 asl D0, 2
00004670 41ED A5E8 lea.l A0, [A5 - 0x5A18]
00004674 D1C0 add.l A0, D0
00004676 2F10 move.l -[A7], [A0]
00004678 4EBA FF14 jsr [PC - 0xEC /* 0000458E */]
0000467C 588F addq.l A7, 4
0000467E 4267 clr.w -[A7]
00004680 5380 subq.l D0, 1
00004682 2F00 move.l -[A7], D0
00004684 3F2D A79C move.w -[A7], [A5 - 0x5864]
00004688 4EBA DA5A jsr [PC - 0x25A6 /* 000020E4 */]
0000468C 508F addq.l A7, 8
0000468E 3F3C 0004 move.w -[A7], 0x4
00004692 486E FFFC pea.l [A6 - 0x4]
00004696 3F2D A79C move.w -[A7], [A5 - 0x5864]
0000469A 4EBA DA08 jsr [PC - 0x25F8 /* 000020A4 */]
0000469E 508F addq.l A7, 8
000046A0 0CAE 504B 0304 FFFC cmpi.l [A6 - 0x4], 0x504B0304
000046A8 670C beq +0xE /* 000046B6 */
000046AA 486D FE7A pea.l [A5 - 0x186]
000046AE 4EBA C854 jsr [PC - 0x37AC /* 00000F04 */]
000046B2 588F addq.l A7, 4
000046B4 6004 bra +0x6 /* 000046BA */
label000046B6:
000046B6 4EBA FAEC jsr [PC - 0x514 /* 000041A4 */]
label000046BA:
000046BA 526D A782 addq.w [A5 - 0x587E], 1
label000046BE:
000046BE 302D A782 move.w D0, [A5 - 0x587E]
000046C2 B06D A780 cmp.w D0, [A5 - 0x5880]
000046C6 6DA0 blt -0x5E /* 00004668 */
000046C8 A850 trap InitCursor
000046CA 3F2D A79C move.w -[A7], [A5 - 0x5864]
000046CE 4EBA D9A0 jsr [PC - 0x2660 /* 00002070 */]
000046D2 548F addq.l A7, 2
000046D4 7001 moveq.l D0, 0x01
000046D6 1B40 A3E2 move.b [A5 - 0x5C1E], D0
000046DA 4878 0014 pea.l [0x00000014 /* __m68k_vec_div_zero__ */]
000046DE 2F2E FFFC move.l -[A7], [A6 - 0x4]
000046E2 4EAD 022A jsr [A5 + 0x22A]
000046E6 3F3C 0001 move.w -[A7], 0x1
000046EA A9C8 trap SysBeep
000046EC 4878 0005 pea.l [0x00000005]
000046F0 2F2E FFFC move.l -[A7], [A6 - 0x4]
000046F4 4EAD 022A jsr [A5 + 0x22A]
000046F8 3F3C 0001 move.w -[A7], 0x1
000046FC A9C8 trap SysBeep
000046FE 486D FEAE pea.l [A5 - 0x152]
00004702 486D A3E7 pea.l [A5 - 0x5C19]
00004706 4EBA BB5E jsr [PC - 0x44A2 /* 00000266 */]
0000470A 508F addq.l A7, 8
0000470C 486D A3E7 pea.l [A5 - 0x5C19]
00004710 4EAD 0282 jsr [A5 + 0x282]
00004714 588F addq.l A7, 4
00004716 2F00 move.l -[A7], D0
00004718 486D FECE pea.l [A5 - 0x132]
0000471C 486D FED0 pea.l [A5 - 0x130]
00004720 486D FED2 pea.l [A5 - 0x12E]
00004724 A98B trap ParamText
00004726 4267 clr.w -[A7]
00004728 A938 trap HiliteMenu
0000472A 4267 clr.w -[A7]
0000472C 3F3C 0065 move.w -[A7], 0x65 /* 'e' */
00004730 42A7 clr.l -[A7]
00004732 A987 trap NoteAlert
00004734 301F move.w D0, [A7]+
label00004736:
00004736 4E5E unlink A6
00004738 4E75 rts
0000473A 5052 addq.w [A2], 8
0000473C 4F43 chk.w D7, D3
0000473E 4553 chk.w D2, [A3]
00004740 5348 subq.w A0, 1
fn00004742:
00004742 4E56 FFFC link A6, -0x0004
00004746 426E FFFE clr.w [A6 - 0x2]
0000474A 3F3C 0002 move.w -[A7], 0x2
0000474E 3F3C 2001 move.w -[A7], 0x2001
00004752 4EBA B90E jsr [PC - 0x46F2 /* 00000062 */]
00004756 588F addq.l A7, 4
00004758 2B40 EACA move.l [A5 - 0x1536], D0
0000475C 3F3C 0001 move.w -[A7], 0x1
00004760 3F3C 2001 move.w -[A7], 0x2001
00004764 4EBA B8FC jsr [PC - 0x4704 /* 00000062 */]
00004768 588F addq.l A7, 4
0000476A 2B40 EACE move.l [A5 - 0x1532], D0
0000476E 3F3C 0001 move.w -[A7], 0x1
00004772 3F3C 2001 move.w -[A7], 0x2001
00004776 4EBA B8EA jsr [PC - 0x4716 /* 00000062 */]
0000477A 588F addq.l A7, 4
0000477C 2B40 EAD2 move.l [A5 - 0x152E], D0
00004780 4878 2000 pea.l [0x00002000 /* VectorPtr */]
00004784 4EBA B940 jsr [PC - 0x46C0 /* 000000C6 */]
00004788 588F addq.l A7, 4
0000478A 2B40 A78C move.l [A5 - 0x5874], D0
0000478E 4878 6000 pea.l [0x00006000]
00004792 4EBA B932 jsr [PC - 0x46CE /* 000000C6 */]
00004796 588F addq.l A7, 4
00004798 2B40 A7B8 move.l [A5 - 0x5848], D0
0000479C 3B7C 2000 A788 move.w [A5 - 0x5878], 0x2000 /* ' \0' */
000047A2 3B7C 6000 A78A move.w [A5 - 0x5876], 0x6000 /* '`\0' */
000047A8 4AAD A78C tst.l [A5 - 0x5874]
000047AC 6706 beq +0x8 /* 000047B4 */
000047AE 4AAD A7B8 tst.l [A5 - 0x5848]
000047B2 6622 bne +0x24 /* 000047D6 */
label000047B4:
000047B4 486D FED4 pea.l [A5 - 0x12C]
000047B8 486D FEFE pea.l [A5 - 0x102]
000047BC 486D FF00 pea.l [A5 - 0x100]
000047C0 486D FF02 pea.l [A5 - 0xFE]
000047C4 A98B trap ParamText
000047C6 4267 clr.w -[A7]
000047C8 3F3C 0065 move.w -[A7], 0x65 /* 'e' */
000047CC 42A7 clr.l -[A7]
000047CE A986 trap StopAlert
000047D0 301F move.w D0, [A7]+
000047D2 4EBA D100 jsr [PC - 0x2F00 /* 000018D4 */]
label000047D6:
000047D6 4E5E unlink A6
000047D8 4E75 rts
000047DA 414C chk.w D0, A4
000047DC 4C4F 4341 movem.l A6,A1,A0,D6,D0, A7
000047E0 5445 addq.w D5, 2
export_25:
000047E2 4267 clr.w -[A7]
000047E4 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
000047E8 42A7 clr.l -[A7]
000047EA A985 trap Alert
000047EC 301F move.w D0, [A7]+
000047EE 4E75 rts
fn000047F0:
000047F0 4A2D A3E3 tst.b [A5 - 0x5C1D]
000047F4 6638 bne +0x3A /* 0000482E */
000047F6 7001 moveq.l D0, 0x01
000047F8 1B40 A3E3 move.b [A5 - 0x5C1D], D0
000047FC 2F2D A2C8 move.l -[A7], [A5 - 0x5D38]
00004800 3F3C 0003 move.w -[A7], 0x3
00004804 1F3C 0001 move.b -[A7], 0x1
00004808 A945 trap CheckItem
0000480A 42A7 clr.l -[A7]
0000480C 3F3C 0005 move.w -[A7], 0x5
00004810 486D FF04 pea.l [A5 - 0xFC]
00004814 A931 trap NewMenu
00004816 205F movea.l A0, [A7]+
00004818 2B48 A2D0 move.l [A5 - 0x5D30], A0
0000481C 42A7 clr.l -[A7]
0000481E 42A7 clr.l -[A7]
00004820 2F2D A2D0 move.l -[A7], [A5 - 0x5D30]
00004824 4EBA D0EC jsr [PC - 0x2F14 /* 00001912 */]
00004828 4FEF 000C lea.l A7, [A7 + 0xC]
0000482C 6032 bra +0x34 /* 00004860 */
label0000482E:
0000482E 422D A3E3 clr.b [A5 - 0x5C1D]
00004832 2F2D A2C8 move.l -[A7], [A5 - 0x5D38]
00004836 3F3C 0003 move.w -[A7], 0x3
0000483A 4267 clr.w -[A7]
0000483C A945 trap CheckItem
0000483E 42A7 clr.l -[A7]
00004840 3F3C 0005 move.w -[A7], 0x5
00004844 486D FF12 pea.l [A5 - 0xEE]
00004848 A931 trap NewMenu
0000484A 205F movea.l A0, [A7]+
0000484C 2B48 A2D0 move.l [A5 - 0x5D30], A0
00004850 42A7 clr.l -[A7]
00004852 42A7 clr.l -[A7]
00004854 2F2D A2D0 move.l -[A7], [A5 - 0x5D30]
00004858 4EBA D0B8 jsr [PC - 0x2F48 /* 00001912 */]
0000485C 4FEF 000C lea.l A7, [A7 + 0xC]
label00004860:
00004860 4E75 rts
fn00004862:
00004862 4A2D A3E6 tst.b [A5 - 0x5C1A]
00004866 6638 bne +0x3A /* 000048A0 */
00004868 7001 moveq.l D0, 0x01
0000486A 1B40 A3E6 move.b [A5 - 0x5C1A], D0
0000486E 2F2D A2C8 move.l -[A7], [A5 - 0x5D38]
00004872 3F3C 0004 move.w -[A7], 0x4
00004876 1F3C 0001 move.b -[A7], 0x1
0000487A A945 trap CheckItem
0000487C 42A7 clr.l -[A7]
0000487E 3F3C 0004 move.w -[A7], 0x4
00004882 486D FF14 pea.l [A5 - 0xEC]
00004886 A931 trap NewMenu
00004888 205F movea.l A0, [A7]+
0000488A 2B48 A2CC move.l [A5 - 0x5D34], A0
0000488E 42A7 clr.l -[A7]
00004890 42A7 clr.l -[A7]
00004892 2F2D A2CC move.l -[A7], [A5 - 0x5D34]
00004896 4EBA D07A jsr [PC - 0x2F86 /* 00001912 */]
0000489A 4FEF 000C lea.l A7, [A7 + 0xC]
0000489E 6032 bra +0x34 /* 000048D2 */
label000048A0:
000048A0 422D A3E6 clr.b [A5 - 0x5C1A]
000048A4 2F2D A2C8 move.l -[A7], [A5 - 0x5D38]
000048A8 3F3C 0004 move.w -[A7], 0x4
000048AC 4267 clr.w -[A7]
000048AE A945 trap CheckItem
000048B0 42A7 clr.l -[A7]
000048B2 3F3C 0004 move.w -[A7], 0x4
000048B6 486D FF2A pea.l [A5 - 0xD6]
000048BA A931 trap NewMenu
000048BC 205F movea.l A0, [A7]+
000048BE 2B48 A2CC move.l [A5 - 0x5D34], A0
000048C2 42A7 clr.l -[A7]
000048C4 42A7 clr.l -[A7]
000048C6 2F2D A2CC move.l -[A7], [A5 - 0x5D34]
000048CA 4EBA D046 jsr [PC - 0x2FBA /* 00001912 */]
000048CE 4FEF 000C lea.l A7, [A7 + 0xC]
label000048D2:
000048D2 4E75 rts
fn000048D4:
000048D4 4A2D A3E5 tst.b [A5 - 0x5C1B]
000048D8 6616 bne +0x18 /* 000048F0 */
000048DA 7001 moveq.l D0, 0x01
000048DC 1B40 A3E5 move.b [A5 - 0x5C1B], D0
000048E0 2F2D A2C8 move.l -[A7], [A5 - 0x5D38]
000048E4 3F3C 0005 move.w -[A7], 0x5
000048E8 1F3C 0001 move.b -[A7], 0x1
000048EC A945 trap CheckItem
000048EE 6010 bra +0x12 /* 00004900 */
label000048F0:
000048F0 422D A3E5 clr.b [A5 - 0x5C1B]
000048F4 2F2D A2C8 move.l -[A7], [A5 - 0x5D38]
000048F8 3F3C 0005 move.w -[A7], 0x5
000048FC 4267 clr.w -[A7]
000048FE A945 trap CheckItem
label00004900:
00004900 4E75 rts
00004902 4E56 FFF0 link A6, -0x0010
00004906 4A2D A3E4 tst.b [A5 - 0x5C1C]
0000490A 671E beq +0x20 /* 0000492A */
0000490C 4A2D A3E2 tst.b [A5 - 0x5C1E]
00004910 660A bne +0xC /* 0000491C */
00004912 3F2D A79C move.w -[A7], [A5 - 0x5864]
00004916 4EBA D758 jsr [PC - 0x28A8 /* 00002070 */]
0000491A 548F addq.l A7, 2
label0000491C:
0000491C 2F2D A374 move.l -[A7], [A5 - 0x5C8C]
00004920 4EBA D214 jsr [PC - 0x2DEC /* 00001B36 */]
00004924 588F addq.l A7, 4
00004926 422D A3E4 clr.b [A5 - 0x5C1C]
label0000492A:
0000492A 422D A3E2 clr.b [A5 - 0x5C1E]
0000492E 2F2D A37C move.l -[A7], [A5 - 0x5C84]
00004932 486D FF2C pea.l [A5 - 0xD4]
00004936 42A7 clr.l -[A7]
00004938 3F3C FFFF move.w -[A7], 0xFFFF
0000493C 42A7 clr.l -[A7]
0000493E 42A7 clr.l -[A7]
00004940 486D A388 pea.l [A5 - 0x5C78]
00004944 4EAD 028A jsr [A5 + 0x28A]
00004948 4A2D A388 tst.b [A5 - 0x5C78]
0000494C 6700 01AC beq +0x1AE /* 00004AFA */
00004950 4267 clr.w -[A7]
00004952 486D FF2E pea.l [A5 - 0xD2]
00004956 3F2D A38E move.w -[A7], [A5 - 0x5C72]
0000495A 4EAD 025A jsr [A5 + 0x25A]
0000495E 301F move.w D0, [A7]+
00004960 42A7 clr.l -[A7]
00004962 3F3C 0004 move.w -[A7], 0x4
00004966 A9B9 trap GetCursor
00004968 205F movea.l A0, [A7]+
0000496A 2B48 A2D4 move.l [A5 - 0x5D2C], A0
0000496E 206D A2D4 movea.l A0, [A5 - 0x5D2C]
00004972 2F10 move.l -[A7], [A0]
00004974 A851 trap SetCursor
00004976 3F3C 0040 move.w -[A7], 0x40 /* '@' */
0000497A 486D A392 pea.l [A5 - 0x5C6E]
0000497E 486D A3E7 pea.l [A5 - 0x5C19]
00004982 4EBA B83C jsr [PC - 0x47C4 /* 000001C0 */]
00004986 4FEF 000A lea.l A7, [A7 + 0xA]
0000498A 486D A3E7 pea.l [A5 - 0x5C19]
0000498E 4EAD 027A jsr [A5 + 0x27A]
00004992 588F addq.l A7, 4
00004994 3F3C 8000 move.w -[A7], 0x8000
00004998 2F00 move.l -[A7], D0
0000499A 4EBA D668 jsr [PC - 0x2998 /* 00002004 */]
0000499E 5C8F addq.l A7, 6
000049A0 3B40 A79C move.w [A5 - 0x5864], D0
000049A4 3F3C 0002 move.w -[A7], 0x2
000049A8 4878 FFEA pea.l [0xFFFFFFEA]
000049AC 3F2D A79C move.w -[A7], [A5 - 0x5864]
000049B0 4EBA D732 jsr [PC - 0x28CE /* 000020E4 */]
000049B4 508F addq.l A7, 8
000049B6 2D40 FFF8 move.l [A6 - 0x8], D0
label000049BA:
000049BA 3F3C 0004 move.w -[A7], 0x4
000049BE 486E FFFC pea.l [A6 - 0x4]
000049C2 3F2D A79C move.w -[A7], [A5 - 0x5864]
000049C6 4EBA D6DC jsr [PC - 0x2924 /* 000020A4 */]
000049CA 508F addq.l A7, 8
000049CC 3F3C 0001 move.w -[A7], 0x1
000049D0 4878 FFFB pea.l [0xFFFFFFFB]
000049D4 3F2D A79C move.w -[A7], [A5 - 0x5864]
000049D8 4EBA D70A jsr [PC - 0x28F6 /* 000020E4 */]
000049DC 508F addq.l A7, 8
000049DE 2D40 FFF4 move.l [A6 - 0xC], D0
000049E2 0CAE 0000 002D FFF4 cmpi.l [A6 - 0xC], 0x2D /* '-' */
000049EA 6F10 ble +0x12 /* 000049FC */
000049EC 202E FFF8 move.l D0, [A6 - 0x8]
000049F0 90AE FFF4 sub.l D0, [A6 - 0xC]
000049F4 0C80 0000 0400 cmpi.l D0, 0x400
000049FA 6D6C blt +0x6E /* 00004A68 */
label000049FC:
000049FC 3F3C 0040 move.w -[A7], 0x40 /* '@' */
00004A00 486D A392 pea.l [A5 - 0x5C6E]
00004A04 486D A3E7 pea.l [A5 - 0x5C19]
00004A08 4EBA B7B6 jsr [PC - 0x484A /* 000001C0 */]
00004A0C 4FEF 000A lea.l A7, [A7 + 0xA]
00004A10 486D A3E7 pea.l [A5 - 0x5C19]
00004A14 4EAD 027A jsr [A5 + 0x27A]
00004A18 588F addq.l A7, 4
00004A1A 486D FF30 pea.l [A5 - 0xD0]
00004A1E 486D A3E7 pea.l [A5 - 0x5C19]
00004A22 4EBA B7EC jsr [PC - 0x4814 /* 00000210 */]
00004A26 508F addq.l A7, 8
00004A28 486D A3E7 pea.l [A5 - 0x5C19]
00004A2C 4EAD 0282 jsr [A5 + 0x282]
00004A30 588F addq.l A7, 4
00004A32 2F00 move.l -[A7], D0
00004A34 486D FF42 pea.l [A5 - 0xBE]
00004A38 486D FF44 pea.l [A5 - 0xBC]
00004A3C 486D FF46 pea.l [A5 - 0xBA]
00004A40 A98B trap ParamText
00004A42 A850 trap InitCursor
00004A44 3F3C 0001 move.w -[A7], 0x1
00004A48 A9C8 trap SysBeep
00004A4A 4267 clr.w -[A7]
00004A4C A938 trap HiliteMenu
00004A4E 4267 clr.w -[A7]
00004A50 3F3C 0065 move.w -[A7], 0x65 /* 'e' */
00004A54 42A7 clr.l -[A7]
00004A56 A986 trap StopAlert
00004A58 301F move.w D0, [A7]+
00004A5A 3F2D A79C move.w -[A7], [A5 - 0x5864]
00004A5E 4EBA D610 jsr [PC - 0x29F0 /* 00002070 */]
00004A62 548F addq.l A7, 2
00004A64 6000 0094 bra +0x96 /* 00004AFA */
label00004A68:
00004A68 0CAE 504B 0506 FFFC cmpi.l [A6 - 0x4], 0x504B0506
00004A70 6600 FF48 bne -0xB6 /* 000049BA */
00004A74 4EBA FA56 jsr [PC - 0x5AA /* 000044CC */]
00004A78 3B40 A780 move.w [A5 - 0x5880], D0
00004A7C 486D FF48 pea.l [A5 - 0xB8]
00004A80 4EBA C482 jsr [PC - 0x3B7E /* 00000F04 */]
00004A84 588F addq.l A7, 4
00004A86 486D FF9C pea.l [A5 - 0x64]
00004A8A 4EBA C478 jsr [PC - 0x3B88 /* 00000F04 */]
00004A8E 588F addq.l A7, 4
00004A90 426D A782 clr.w [A5 - 0x587E]
00004A94 603C bra +0x3E /* 00004AD2 */
label00004A96:
00004A96 3F3C 0004 move.w -[A7], 0x4
00004A9A 486E FFFC pea.l [A6 - 0x4]
00004A9E 3F2D A79C move.w -[A7], [A5 - 0x5864]
00004AA2 4EBA D600 jsr [PC - 0x2A00 /* 000020A4 */]
00004AA6 508F addq.l A7, 8
00004AA8 0CAE 504B 0102 FFFC cmpi.l [A6 - 0x4], 0x504B0102
00004AB0 661C bne +0x1E /* 00004ACE */
00004AB2 302D A782 move.w D0, [A5 - 0x587E]
00004AB6 48C0 ext.l D0
00004AB8 E580 asl D0, 2
00004ABA 41ED A5E8 lea.l A0, [A5 - 0x5A18]
00004ABE D1C0 add.l A0, D0
00004AC0 2D48 FFF0 move.l [A6 - 0x10], A0
00004AC4 4EBA F844 jsr [PC - 0x7BC /* 0000430A */]
00004AC8 206E FFF0 movea.l A0, [A6 - 0x10]
00004ACC 2080 move.l [A0], D0
label00004ACE:
00004ACE 526D A782 addq.w [A5 - 0x587E], 1
label00004AD2:
00004AD2 302D A782 move.w D0, [A5 - 0x587E]
00004AD6 B06D A780 cmp.w D0, [A5 - 0x5880]
00004ADA 6DBA blt -0x44 /* 00004A96 */
00004ADC 4EBA C4AE jsr [PC - 0x3B52 /* 00000F8C */]
00004AE0 A850 trap InitCursor
00004AE2 3F3C 0006 move.w -[A7], 0x6
00004AE6 A9C8 trap SysBeep
00004AE8 4267 clr.w -[A7]
00004AEA 2F2D A374 move.l -[A7], [A5 - 0x5C8C]
00004AEE 4EBA BFEC jsr [PC - 0x4014 /* 00000ADC */]
00004AF2 5C8F addq.l A7, 6
00004AF4 2F2D A374 move.l -[A7], [A5 - 0x5C8C]
00004AF8 A915 trap ShowWindow
label00004AFA:
00004AFA 4E5E unlink A6
00004AFC 4E75 rts
00004AFE 4F50 chk.w D7, [A0]
00004B00 454E chk.w D2, A6
00004B02 4649 not.w A1
00004B04 4C45 4E56 movem.l A6,A3,A2,A1,D6,D4,D2,D1, D5
export_26: // at 00004B06 (misaligned)
00004B08 0000 302E ori.b D0, 0x2E /* '.' */
00004B0C 0008 4EAD ori.b A0, 0xAD
00004B10 003A 0001 0002 ori.b [PC + 0x2 /* 00004B14 */], 0x1
00004B16 0042 0004 ori.w D2, 0x4
00004B1A 0008 4EBA ori.b A0, 0xBA
00004B1E FDE4 .extension 0xDE4 // unimplemented
00004B20 6036 bra +0x38 /* 00004B58 */
00004B22 2F2D EACA move.l -[A7], [A5 - 0x1536]
00004B26 4EBA B584 jsr [PC - 0x4A7C /* 000000AC */]
00004B2A 588F addq.l A7, 4
00004B2C 2F2D EACE move.l -[A7], [A5 - 0x1532]
00004B30 4EBA B57A jsr [PC - 0x4A86 /* 000000AC */]
00004B34 588F addq.l A7, 4
00004B36 2F2D EAD2 move.l -[A7], [A5 - 0x152E]
00004B3A 4EBA B570 jsr [PC - 0x4A90 /* 000000AC */]
00004B3E 588F addq.l A7, 4
00004B40 2F2D A78C move.l -[A7], [A5 - 0x5874]
00004B44 4EBA B566 jsr [PC - 0x4A9A /* 000000AC */]
00004B48 588F addq.l A7, 4
00004B4A 2F2D A7B8 move.l -[A7], [A5 - 0x5848]
00004B4E 4EBA B55C jsr [PC - 0x4AA4 /* 000000AC */]
00004B52 588F addq.l A7, 4
00004B54 4EBA CD7E jsr [PC - 0x3282 /* 000018D4 */]
label00004B58:
00004B58 4E5E unlink A6
00004B5A 4E75 rts
00004B5C 444F neg.w A7
00004B5E 4649 not.w A1
00004B60 4C45 4D45 movem.l A6,A3,A2,A0,D6,D2,D0, D5
export_27:
00004B64 4E56 0000 link A6, 0
00004B68 302E 0008 move.w D0, [A6 + 0x8]
00004B6C 4EAD 003A jsr [A5 + 0x3A]
00004B70 0001 0005 ori.b D1, 0x5
00004B74 0022 000A ori.b -[A2], 0xA /* '\n' */
00004B78 001E 000C ori.b [A6]+, 0xC
00004B7C 0010 0014 ori.b [A0], 0x14
00004B80 4EBA FA36 jsr [PC - 0x5CA /* 000045B8 */]
00004B84 6010 bra +0x12 /* 00004B96 */
00004B86 4EBA FC68 jsr [PC - 0x398 /* 000047F0 */]
00004B8A 600A bra +0xC /* 00004B96 */
00004B8C 4EBA FCD4 jsr [PC - 0x32C /* 00004862 */]
00004B90 6004 bra +0x6 /* 00004B96 */
00004B92 4EBA FD40 jsr [PC - 0x2C0 /* 000048D4 */]
label00004B96:
00004B96 4E5E unlink A6
00004B98 4E75 rts
00004B9A 444F neg.w A7
00004B9C 4F50 chk.w D7, [A0]
00004B9E 5449 addq.w A1, 2
00004BA0 4F4E chk.w D7, A6
export_24:
00004BA2 42A7 clr.l -[A7]
00004BA4 3F3C 0006 move.w -[A7], 0x6
00004BA8 4EBA CBEC jsr [PC - 0x3414 /* 00001796 */]
00004BAC 5C8F addq.l A7, 6
00004BAE 486D 00EA pea.l [A5 + 0xEA]
00004BB2 486D FFEE pea.l [A5 - 0x12]
00004BB6 4EBA CE6C jsr [PC - 0x3194 /* 00001A24 */]
00004BBA 508F addq.l A7, 8
00004BBC 42A7 clr.l -[A7]
00004BBE 3F3C 0065 move.w -[A7], 0x65 /* 'e' */
00004BC2 A9BF trap GetRMenu
00004BC4 205F movea.l A0, [A7]+
00004BC6 2B48 A2C4 move.l [A5 - 0x5D3C], A0
00004BCA 4267 clr.w -[A7]
00004BCC 42A7 clr.l -[A7]
00004BCE 486D 00F2 pea.l [A5 + 0xF2]
00004BD2 2F2D A2C4 move.l -[A7], [A5 - 0x5D3C]
00004BD6 4EBA CD3A jsr [PC - 0x32C6 /* 00001912 */]
00004BDA 4FEF 000E lea.l A7, [A7 + 0xE]
00004BDE 42A7 clr.l -[A7]
00004BE0 3F3C 0066 move.w -[A7], 0x66 /* 'f' */
00004BE4 A9BF trap GetRMenu
00004BE6 205F movea.l A0, [A7]+
00004BE8 2B48 A2C8 move.l [A5 - 0x5D38], A0
00004BEC 3F3C 0001 move.w -[A7], 0x1
00004BF0 42A7 clr.l -[A7]
00004BF2 486D 00FA pea.l [A5 + 0xFA]
00004BF6 2F2D A2C8 move.l -[A7], [A5 - 0x5D38]
00004BFA 4EBA CD16 jsr [PC - 0x32EA /* 00001912 */]
00004BFE 4FEF 000E lea.l A7, [A7 + 0xE]
00004C02 4EBA FB3E jsr [PC - 0x4C2 /* 00004742 */]
00004C06 4EBA CC00 jsr [PC - 0x3400 /* 00001808 */]
00004C0A 4EBA CCD0 jsr [PC - 0x3330 /* 000018DC */]
00004C0E 4E75 rts